You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
Exception in thread "main" java.lang.NullPointerException
at org.jvnet.jax_ws_commons.json.schema.JsonOperation.build(JsonOperation.java:53)
at org.jvnet.jax_ws_commons.json.schema.JsonOperation.(JsonOperation.java:33)
at org.jvnet.jax_ws_commons.json.SchemaInfo.buildJsonSchema(SchemaInfo.java:221)
at org.jvnet.jax_ws_commons.json.SchemaInfo.(SchemaInfo.java:132)
at org.jvnet.jax_ws_commons.json.JSONCodec.setEndpoint(JSONCodec.java:64)
at com.sun.xml.ws.server.WSEndpointImpl.(WSEndpointImpl.java:158)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:217)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:486)
at
com.sun.xml.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:222)
at com.sun.xml.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:152)
at com.sun.xml.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:113)
at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
at orc.orchard.soap.CompilerService.(CompilerService.java:33)
at orc.orchard.soap.CompilerService.main(CompilerService.java:53)
After some investigation, it appears the problem is that the SchemaInfo
constructor which parses the WSDL is not following the WSDL statement
in the primary WSDL file which refers to the WSDL definition for the
endpointInterface (which in turn refers to the schema file). A quick fix should
be to parse all WSDL SDDocuments rather than just the primary one.
Based on this theory I'm going to try converting my service to not use an
endpointInterface and see if that resolves the issue.
Environment
Operating System: All
Platform: All
Affected Versions
[current]
The text was updated successfully, but these errors were encountered:
Exception in thread "main" java.lang.NullPointerException
at org.jvnet.jax_ws_commons.json.schema.JsonOperation.build(JsonOperation.java:53)
at org.jvnet.jax_ws_commons.json.schema.JsonOperation.(JsonOperation.java:33)
at org.jvnet.jax_ws_commons.json.SchemaInfo.buildJsonSchema(SchemaInfo.java:221)
at org.jvnet.jax_ws_commons.json.SchemaInfo.(SchemaInfo.java:132)
at org.jvnet.jax_ws_commons.json.JSONCodec.setEndpoint(JSONCodec.java:64)
at com.sun.xml.ws.server.WSEndpointImpl.(WSEndpointImpl.java:158)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:217)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:486)
at
com.sun.xml.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:222)
at com.sun.xml.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:152)
at com.sun.xml.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:113)
at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
at orc.orchard.soap.CompilerService.(CompilerService.java:33)
at orc.orchard.soap.CompilerService.main(CompilerService.java:53)
After some investigation, it appears the problem is that the SchemaInfo
constructor which parses the WSDL is not following the WSDL statement
in the primary WSDL file which refers to the WSDL definition for the
endpointInterface (which in turn refers to the schema file). A quick fix should
be to parse all WSDL SDDocuments rather than just the primary one.
Based on this theory I'm going to try converting my service to not use an
endpointInterface and see if that resolves the issue.
Environment
Operating System: All
Platform: All
Affected Versions
[current]
The text was updated successfully, but these errors were encountered: