Trouble with parsing WSDL

View: New views
3 Messages — Rating Filter:   Alert me  

Trouble with parsing WSDL

by Marianne Kristin Hansen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I've been trying out this tutorial to the XSLT Designer:
http://www.netbeans.org/kb/61/soa/xslt-quick-start.html.
I've successfully deployed it, but when I try to run a testcase, I get the
following error message:

Test TestCase1\Concurrent.properties
Replace '${HttpDefaultPort}' in WSDL soap location by '9080' defined in
sun-http-binding.
04.jul.2008 08:53:39 org.netbeans.editor.BaseDocument <init>
WARNING: Using deprecated document construction for
org.netbeans.editor.BaseDocument, see
http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use
-J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace.
 Failed. (Destination:
http://localhost:${HttpDefaultPort}/HelloXSLWSDLService/HelloXSLWSDLPort)
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2,063 sec

------------- Standard Error -----------------
04.jul.2008 08:53:39 org.netbeans.editor.BaseDocument <init>
WARNING: Using deprecated document construction for
org.netbeans.editor.BaseDocument, see
http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use
-J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace.
------------- ---------------- ---------------
Testcase: TestCase1(org.netbeans.modules.compapp.catd.ConfiguredTest):    
   Caused an ERROR
null
java.lang.NullPointerException
        at
org.netbeans.editor.BaseDocument$1.preferenceChange(BaseDocument.java:340)
        at org.netbeans.editor.BaseDocument.init(BaseDocument.java:505)
        at org.netbeans.editor.BaseDocument.<init>(BaseDocument.java:470)
        at
org.netbeans.modules.xml.xdm.diff.XDMUtil.prettyPrintXML(XDMUtil.java:89)
        at
org.netbeans.modules.compapp.catd.ConfiguredTest.formatString(ConfiguredTest.java:2333)
        at
org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2236)
        at
org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2122)
        at
org.netbeans.modules.compapp.catd.ConfiguredTest.testConcurrentSOAPRequest(ConfiguredTest.java:748)


Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED
test-report:
C:\Documents and Settings\mha\My
Documents\NetBeansProjects\HelloXSLCAP\nbproject\build-impl.xml:328: Some
tests failed; see details above.
BUILD FAILED (total time: 2 seconds)

I've been in touch with someone from Sun, I sent her my project and she
was able to run the testcase successfully. She thought it had something to
do with the WSDL-parsing. Can somebody help me on this?


Marianne



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Trouble with parsing WSDL

by jqian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Marianne,

This has nothing to do with WSDL parsing. You were hitting a known issue
[1] which has been fixed. Try a later build and you will be fine.

Jun

[1] http://www.netbeans.org/issues/show_bug.cgi?id=138412

Marianne Kristin Hansen wrote:

> Hello
>
> I've been trying out this tutorial to the XSLT Designer:
> http://www.netbeans.org/kb/61/soa/xslt-quick-start.html.
> I've successfully deployed it, but when I try to run a testcase, I get the
> following error message:
>
> Test TestCase1\Concurrent.properties
> Replace '${HttpDefaultPort}' in WSDL soap location by '9080' defined in
> sun-http-binding.
> 04.jul.2008 08:53:39 org.netbeans.editor.BaseDocument <init>
> WARNING: Using deprecated document construction for
> org.netbeans.editor.BaseDocument, see
> http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use
> -J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace.
>  Failed. (Destination:
> http://localhost:${HttpDefaultPort}/HelloXSLWSDLService/HelloXSLWSDLPort)
> Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2,063 sec
>
> ------------- Standard Error -----------------
> 04.jul.2008 08:53:39 org.netbeans.editor.BaseDocument <init>
> WARNING: Using deprecated document construction for
> org.netbeans.editor.BaseDocument, see
> http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use
> -J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace.
> ------------- ---------------- ---------------
> Testcase: TestCase1(org.netbeans.modules.compapp.catd.ConfiguredTest):    
>    Caused an ERROR
> null
> java.lang.NullPointerException
>         at
> org.netbeans.editor.BaseDocument$1.preferenceChange(BaseDocument.java:340)
>         at org.netbeans.editor.BaseDocument.init(BaseDocument.java:505)
>         at org.netbeans.editor.BaseDocument.<init>(BaseDocument.java:470)
>         at
> org.netbeans.modules.xml.xdm.diff.XDMUtil.prettyPrintXML(XDMUtil.java:89)
>         at
> org.netbeans.modules.compapp.catd.ConfiguredTest.formatString(ConfiguredTest.java:2333)
>         at
> org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2236)
>         at
> org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2122)
>         at
> org.netbeans.modules.compapp.catd.ConfiguredTest.testConcurrentSOAPRequest(ConfiguredTest.java:748)
>
>
> Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED
> test-report:
> C:\Documents and Settings\mha\My
> Documents\NetBeansProjects\HelloXSLCAP\nbproject\build-impl.xml:328: Some
> tests failed; see details above.
> BUILD FAILED (total time: 2 seconds)
>
> I've been in touch with someone from Sun, I sent her my project and she
> was able to run the testcase successfully. She thought it had something to
> do with the WSDL-parsing. Can somebody help me on this?
>
>
> Marianne
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>  


--
Jun Qian

NetBeans SOA Tools, http://enterprise.netbeans.org
Open ESB Community, http://open-esb.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Trouble with parsing WSDL

by Marianne Kristin Hansen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot:) Have a nice weekend!

Marianne



> Hi Marianne,
>
> This has nothing to do with WSDL parsing. You were hitting a known issue
> [1] which has been fixed. Try a later build and you will be fine.
>
> Jun
>
> [1] http://www.netbeans.org/issues/show_bug.cgi?id=138412
>
> Marianne Kristin Hansen wrote:
>> Hello
>>
>> I've been trying out this tutorial to the XSLT Designer:
>> http://www.netbeans.org/kb/61/soa/xslt-quick-start.html.
>> I've successfully deployed it, but when I try to run a testcase, I get
>> the
>> following error message:
>>
>> Test TestCase1\Concurrent.properties
>> Replace '${HttpDefaultPort}' in WSDL soap location by '9080' defined in
>> sun-http-binding.
>> 04.jul.2008 08:53:39 org.netbeans.editor.BaseDocument <init>
>> WARNING: Using deprecated document construction for
>> org.netbeans.editor.BaseDocument, see
>> http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use
>> -J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace.
>>  Failed. (Destination:
>> http://localhost:${HttpDefaultPort}/HelloXSLWSDLService/HelloXSLWSDLPort)
>> Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2,063 sec
>>
>> ------------- Standard Error -----------------
>> 04.jul.2008 08:53:39 org.netbeans.editor.BaseDocument <init>
>> WARNING: Using deprecated document construction for
>> org.netbeans.editor.BaseDocument, see
>> http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use
>> -J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace.
>> ------------- ---------------- ---------------
>> Testcase: TestCase1(org.netbeans.modules.compapp.catd.ConfiguredTest):
>>    Caused an ERROR
>> null
>> java.lang.NullPointerException
>>         at
>> org.netbeans.editor.BaseDocument$1.preferenceChange(BaseDocument.java:340)
>>         at org.netbeans.editor.BaseDocument.init(BaseDocument.java:505)
>>         at
>> org.netbeans.editor.BaseDocument.<init>(BaseDocument.java:470)
>>         at
>> org.netbeans.modules.xml.xdm.diff.XDMUtil.prettyPrintXML(XDMUtil.java:89)
>>         at
>> org.netbeans.modules.compapp.catd.ConfiguredTest.formatString(ConfiguredTest.java:2333)
>>         at
>> org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2236)
>>         at
>> org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2122)
>>         at
>> org.netbeans.modules.compapp.catd.ConfiguredTest.testConcurrentSOAPRequest(ConfiguredTest.java:748)
>>
>>
>> Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED
>> test-report:
>> C:\Documents and Settings\mha\My
>> Documents\NetBeansProjects\HelloXSLCAP\nbproject\build-impl.xml:328:
>> Some
>> tests failed; see details above.
>> BUILD FAILED (total time: 2 seconds)
>>
>> I've been in touch with someone from Sun, I sent her my project and she
>> was able to run the testcase successfully. She thought it had something
>> to
>> do with the WSDL-parsing. Can somebody help me on this?
>>
>>
>> Marianne
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>
>
> --
> Jun Qian
>
> NetBeans SOA Tools, http://enterprise.netbeans.org
> Open ESB Community, http://open-esb.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price