axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: [Axis2]Unable to use WSDL2JAVA.
Date Sun, 13 Aug 2006 18:41:46 GMT
Good Afternoon Yura-

Your WSDL will need to identify the method which will process the Request
 in this example the wsdl:operation name="" is the method 

 <wsdl:portType name="SelectFromZip">
- <wsdl:operation name="getSelectFromZip" parameterOrder="in0 in1 in2">
  <wsdl:input message="impl:getSelectFromZipRequest" name="getSelectFromZipRequest" />

  <wsdl:output message="impl:getSelectFromZipResponse" name="getSelectFromZipResponse"
/> 
  </wsdl:operation>
  </wsdl:portType>

Anyone else?
Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: <yura.tkachenko@gmail.com>
To: <axis-user@ws.apache.org>
Sent: Sunday, August 13, 2006 6:21 AM
Subject: [Axis2]Unable to use WSDL2JAVA.


> Hi, there.
> 
> Everytime when I'm trying to use WSDL2JAVA util to generate client stubs I'm getting
exception:
> 
> Exception in thread "main" java.lang.NoSuchMethodError: javax.wsdl.PortType.getExtensionAttributes()Ljava/util/Map;
> at org.apache.axis2.description.WSDL2AxisServiceBuilder.processPortType(WSDL2AxisServiceBuilder.java:369)
> at org.apache.axis2.description.WSDL2AxisServiceBuilder.processBinding(WSDL2AxisServiceBuilder.java:299)
> at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:238)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:87)
> at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
> 
> method getExtensionAttributes in ProtType interface doesn't presents in the wsdl1.5.2
anymore.
> 
> Any idea how to resolve this issue?
> 
> Thanks,
> Yura.
> 
> --
> This message was sent on behalf of yura.tkachenko@gmail.com at openSubscriber.com
> http://opensubscriber.com/messages/axis-user@ws.apache.org/topic.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
>
Mime
View raw message