Forum Stats

  • 3,727,517 Users
  • 2,245,399 Discussions
  • 7,852,846 Comments

Discussions

Error in JDeveloper - Webservice from WSDL

user8931815
user8931815 Member Posts: 2

Hello World,

1. I am following JDeveloper Tutorial here: Oracle JDeveloper 12c (12.1.3) Tutorials - Building and Using Web Services with JDeveloper

2. In Step 1, Creating Webservice from WSDL - I am using following wizard:

pastedImage_1.png

3. I am getting NullPointer Expception error pressing "Next" or "Finish".

pastedImage_2.png

Please suggest, following is my WSDL file:

<!-- Generated by JAX-WS RI (http://jax-ws.java.net). RI's version is JAX-WS RI 2.2.11-b150616.1732 svn-revision#a247ba216861f2c0baac9a3657c5690bce0c744d.

--><definitions targetNamespace="http://wizard/" name="MyWebService1"><types><xsd:schema><xsd:import namespace="http://wizard/" schemaLocation="MyWebService1_schema1.xsd"/></xsd:schema></types><message name="sayHello"><part name="parameters" element="tns:sayHello"/></message><message name="sayHelloResponse"><part name="parameters" element="tns:sayHelloResponse"/></message><portType name="MyWebService1"><operation name="sayHello"><input wsam:Action="http://wizard/MyWebService1/sayHelloRequest" message="tns:sayHello"/><output wsam:Action="http://wizard/MyWebService1/sayHelloResponse" message="tns:sayHelloResponse"/></operation></portType><binding name="MyWebService1PortBinding" type="tns:MyWebService1"><soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/><operation name="sayHello"><soap12:operation soapAction=""/><input><soap12:body use="literal"/></input><output><soap12:body use="literal"/></output></operation></binding><service name="MyWebService1"><port name="MyWebService1Port" binding="tns:MyWebService1PortBinding"><soap12:address location="http://localhost:7101/WebService-Wizard-context-root/MyWebService1Port"/></port></service></definitions>

This discussion has been closed.