You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2004/12/02 13:57:23 UTC
[jira] Resolved: (AXIS-1687) WSDL2Java Generation fails when soap location attribute is not an URL
[ http://nagoya.apache.org/jira/browse/AXIS-1687?page=history ]
Davanum Srinivas resolved AXIS-1687:
------------------------------------
Resolution: Fixed
Applied Patch. Please cross-check.
thanks,
dims
> WSDL2Java Generation fails when soap location attribute is not an URL
> ---------------------------------------------------------------------
>
> Key: AXIS-1687
> URL: http://nagoya.apache.org/jira/browse/AXIS-1687
> Project: Axis
> Type: Improvement
> Components: WSDL processing
> Versions: 1.2RC2
> Environment: JOnAS 4.2.0+
> Reporter: Guillaume Sauthier
> Attachments: axis-wsdl2java-patch.txt, axis-wsdl2java-patch2.txt
>
> my Generation with EWS fails when the endpoint URL specified in WSDL is not an URL.
> But I need this to work, because when a client want to use a webservice that is deployed in the same time, URL of the service is unknown.
> This is the port-component-link usage in J2EE1.4 :
> the service the client want to access, is not deployed when I make the generation, so I was wondering if it is possible to have an "offline" mode for the Generation that do not check the URL validity ?
> Here is the Exception I get
> java.io.IOException: Emitter failure. Invalid endpoint address in port SEIPort in service ServiceLocator: NOT_AN_URL
> at org.apache.axis.wsdl.toJava.JavaServiceImplWriter.writeFileBody(JavaServiceImplWriter.java:232)
> at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:130)
> at org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWriter.java:80)
> at org.apache.geronimo.ews.jaxrpcmapping.J2eeGeneratorFactory$Writers.generate(J2eeGeneratorFactory.java:267)
> at org.apache.geronimo.ews.jaxrpcmapping.J2eeEmitter.generate(J2eeEmitter.java:414)
> at org.apache.geronimo.ews.jaxrpcmapping.J2eeEmitter.access$2(J2eeEmitter.java:366)
> at org.apache.geronimo.ews.jaxrpcmapping.J2eeEmitter$WSDLRunnable.run(J2eeEmitter.java:335)
> at java.lang.Thread.run(Thread.java:534)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira