Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-M4
-
None
Description
I came across an interesting MS.NET wsdl witch contained the following port definitions:
<wsdl:port name="ISBNSoap" binding="tns:ISBNSoap">
<soap:address
location="http://www.webservicex.com/isbn.asmx" />
</wsdl:port>
<wsdl:port name="ISBNHttpGet" binding="tns:ISBNHttpGet">
<http:address
location="http://www.webservicex.com/isbn.asmx" />
</wsdl:port>
<wsdl:port name="ISBNHttpPost" binding="tns:ISBNHttpPost">
<http:address
location="http://www.webservicex.com/isbn.asmx" />
</wsdl:port>
Obviously the ISBNSoap is a valid SOAP port type and thus the other two need to be disregarded when invoking this service via dynamic proxies. The wsdl can be found at: http://www.webservicex.com/isbn.asmx?WSDL
The geronimo stack trace:
17:15:15,018 DEBUG [AxisEngine] Enter: AxisEngine::init
17:15:15,018 DEBUG [AxisEngine] Exit: AxisEngine::init
17:15:15,448 DEBUG [Deployer] Deployment failed: plan=null, module=E:\development\java\DWBookShop\target\DWBookShop.war
org.apache.geronimo.common.DeploymentException: No element of class javax.wsdl.extensions.soap.SOAPAddress found
at org.apache.geronimo.axis.builder.SchemaInfoBuilder.getExtensibilityElement(SchemaInfoBuilder.java:550)
at org.apache.geronimo.axis.builder.AxisBuilder.getAddressLocation(AxisBuilder.java:362)
at org.apache.geronimo.axis.builder.AxisBuilder.buildSEIFactoryMap(AxisBuilder.java:289)
at org.apache.geronimo.axis.builder.AxisBuilder.createService(AxisBuilder.java:191)
at org.apache.geronimo.axis.builder.AxisBuilder.createService(AxisBuilder.java:171)
at org.apache.geronimo.axis.builder.AxisBuilder$$FastClassByCGLIB$$16a52a9a.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
Stefan Schmidt