Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

jax-ws standalone client null pointer exception

user3653687Apr 27 2010 — edited Apr 1 2011
I have created a simple jax-ws proxy service client in jDeveloper 11.1.1.2.0 that works within the jDeveloper environment but fails when I deploy it as a standalone client.

Here is the stack trace:
Exception in thread "main" java.lang.NullPointerException
at weblogic.wsee.jaxws.framework.policy.WSDLParserExtension.definitionsElements(WSDLParserExtension.java:294)
at com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.definitionsElements(DelegatingParserExtension.java:91)
at com.sun.xml.ws.wsdl.parser.FoolProofParserExtension.definitionsElements(FoolProofParserExtension.java:96)
at com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.definitionsElements(WSDLParserExtensionFacade.java:136)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:357)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:168)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:131)
at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:267)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:230)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
at javax.xml.ws.Service.<init>(Unknown Source)
at xs.http.myorg.xsd.ver1_0.reports_.ShowReportService.<init>(ShowReportService.java:68)
at xmlutility.XMLReports.submitReportsRequest(XMLReports.java:166)
at xmlutility.FlowTest.main(FlowTest.java:130)

I see that this is thrown during construction of my proxy service (ShowReportService) but do not understand why it occurs outside the jDeveloper environment.

Could there be something missing from the deployment? Or a classpath problem?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 29 2011
Added on Apr 27 2010
4 comments
7,495 views