You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/08/16 02:22:54 UTC

[jira] Resolved: (GERONIMO-714) WSDL ports with a http:address need to be disregarded

     [ http://issues.apache.org/jira/browse/GERONIMO-714?page=all ]
     
David Jencks resolved GERONIMO-714:
-----------------------------------

    Resolution: Fixed

I've fixed the immediate cause of the problem and looked at the other places looking for the soap address occurs and don't think they will cause problems.  However, I don't have a test case, so if you can test it that would be appreciated.

Sending        modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisBuilder.java
Sending        modules/axis-builder/src/java/org/apache/geronimo/axis/builder/WSDescriptorParser.java
Transmitting file data ..
Committed revision 232916.

> WSDL ports with a http:address need to be disregarded
> -----------------------------------------------------
>
>          Key: GERONIMO-714
>          URL: http://issues.apache.org/jira/browse/GERONIMO-714
>      Project: Geronimo
>         Type: Bug
>   Components: webservices
>     Versions: 1.0-M4
>     Reporter: Stefan Schmidt
>     Assignee: David Jencks
>      Fix For: 1.0-M5

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira