axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Sauthier (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-1687) WSDL2Java Generation fails when soap location attribute is not an URL
Date Mon, 29 Nov 2004 15:53:26 GMT
     [ http://nagoya.apache.org/jira/browse/AXIS-1687?page=history ]

Guillaume Sauthier updated AXIS-1687:
-------------------------------------

    Attachment: axis-wsdl2java-patch.txt

add an option to WSDL2Java :
-u/--allowInvalidURL that prints only a warning when endpoint URL is not a valid URL.

disabled by default

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


Mime
View raw message