Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

Netbeans 6.5.1 failed to generate the JAX-WS client operations.

843833Sep 14 2009 — edited Sep 14 2009
Hi everyone,


When I am trying to generate a JAX-WS client from the following wsdl i receive the following message, but the operations are not generated. I've been struggling with these problem for quite a long time. Can anyone who knows this help me.

Here is a description of warning messages

parsing WSDL...


[WARNING] ignoring operation "registerPersonnel": message part does not refer to a schema element declaration
line 68 of file:/C:/MCM_App3/WebServiceClient/src/conf/xml-resources/web-service-references/PersonnelAdministrationService/wsdl/localhost_9080/j1_demonstrator/PersonnelAdministrationService.wsdl

[WARNING] Port "PersonnelAdministrationPort" does not contain any usable operations
line 88 of file:/C:/MCM_App3/WebServiceClient/src/conf/xml-resources/web-service-references/PersonnelAdministrationService/wsdl/localhost_9080/j1_demonstrator/PersonnelAdministrationService.wsdl

[WARNING] Service "PersonnelAdministrationService" does not contain any usable ports. try running wsimport with -extension switch.
line 87 of file:/C:/MCM_App3/WebServiceClient/src/conf/xml-resources/web-service-references/PersonnelAdministrationService/wsdl/localhost_9080/j1_demonstrator/PersonnelAdministrationService.wsdl


**Here is a sample of my wsdl file**

      
−
<definitions name="PersonnelAdministrationService" targetNamespace="http://openesb.mcm.cciw.csir.co.za/wsdl/personnel_administration">
&#8722;
<types>
&#8722;
<xsd:schema targetNamespace="http://openesb.mcm.cciw.csir.co.za/wsdl/personnel_administration">
<xsd:import namespace="http://openesb.mcm.cciw.csir.co.za/client_schema" schemaLocation="http://146.64.248.149:9080/J1_DemonstratorCA-sun-http-binding/J1_Demonstrator/client_schema/ObjectItem.xsd"/>
<xsd:import namespace="http://openesb.mcm.cciw.csir.co.za/client_schema" schemaLocation="http://146.64.248.149:9080/J1_DemonstratorCA-sun-http-binding/J1_Demonstrator/client_schema/ObjectItemAlias.xsd"/>
</xsd:schema>
</types>
&#8722;
<message name="register">
<part name="objectItemParameter" element="ns:ObjectItem">
    </part>
<part name="objectItemAliasParameter" element="ns:ObjectItemAlias">
</message>
&#8722;
<message name="registerResponse">
<part name="registrationStatus" type="xsd:string">
    </part>
</message>
&#8722;
<portType name="PersonnelAdministrationPortType">
&#8722;
<operation name="registerPersonnel">
<input name="registerInput" message="tns:register">
    </input>
<output name="registerOutput" message="tns:registerResponse">
    </output>
</operation>
</portType>
&#8722;
<binding name="PersonnelAdministrationBinding" type="tns:PersonnelAdministrationPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
&#8722;
<operation name="registerPersonnel">
<soap:operation soapAction="PersonnelAdministrationPortType#registerPersonnel"/>
&#8722;
<input name="registerInput">
<soap:body use="literal"/>
</input>
&#8722;
<output name="registerOutput">
<soap:body use="literal"/>
</output>
</operation>
</binding>
&#8722;
<service name="PersonnelAdministrationService">
&#8722;
<port name="PersonnelAdministrationPort" binding="tns:PersonnelAdministrationBinding">
<soap:address location="http://146.64.248.149:9080/j1_demonstrator/PersonnelAdministrationService"/>
</port>
</service>
&#8722;
<plnk:partnerLinkType name="PersonnelAdministrationPartnerLinkType">
<plnk:role name="PersonnelAdministrationClientRole" portType="tns:PersonnelAdministrationPortType"/>
</plnk:partnerLinkType>
</definitions>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2009
Added on Sep 14 2009
1 comment
209 views