[ 
https://issues.apache.org/jira/browse/TUSCANY-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588483#action_12588483
 ] 

Luciano Resende commented on TUSCANY-2220:
------------------------------------------

I'm going to merge this fix to SCA 1.2 branch for a re-spin.

> WSDL representations of binding.ws generated incorrectly.
> ---------------------------------------------------------
>
>                 Key: TUSCANY-2220
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2220
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Embedded Runtime
>    Affects Versions: Java-SCA-1.2
>         Environment: Websphere 6.1.0.14 on AIX, jdk150_10
> Jetty on Windows XP x86, jdk150_10
> Websphere on Windows XP x86, jdk150_10
> Tomcat on Windows XP x86. jdk150_10
>            Reporter: Dave Sowerby
>             Fix For: Java-SCA-1.2
>
>
> WSDL representations of binding.ws generated incorrectly.
> I'm currently facing issues when attmepting to utilise the wsdl
> generated by a service exposed using binding.ws, when I use wsdl2java
> with this wsdl I get the following exception:
> IWAB0399E Error in generating Java from WSDL:  java.io.IOException:
> Emitter failure.  Cannot find endpoint address in port
> ServiceRequestPortType__SOAPHTTPPort in service
> ServiceRequestPortType__ServiceLocator
>    java.io.IOException: Emitter failure.  Cannot find endpoint
> address in port ServiceRequestPortType__SOAPHTTPPort in service
> ServiceRequestPortType__ServiceLocator
>    at 
> org.apache.axis.wsdl.toJava.JavaServiceImplWriter.writeFileBody(JavaServiceImplWriter.java:189)
>    at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
>    at 
> org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWriter.java:112)
>    at 
> org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:421)
>    at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
>    at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
>    at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
>    at java.lang.Thread.run(Unknown Source)
> I've diffed a previously functioning wsdl against the currently (RC3a)
> generated wsdl file, the difference causing this problem appears to be
> the additional lines of:
>  <wsdl:service name="ServiceRequestPortType__Service">
>    <wsdl:port name="ServiceRequestPortType__SOAPHTTPPort"
> binding="ns2:ServiceRequestPortType__SOAPBinding">
>    </wsdl:port>
>  </wsdl:service>
> Which without an address is causing wsdl2java to fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to