axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Armbrust <daniel.armbrust.l...@gmail.com>
Subject Re: New .NET Interop Bug? (regression)
Date Fri, 10 Jun 2005 20:01:25 GMT
Ok, I'm completely baffeled.

The only difference in the SOAP messages generated by 1.2 RC2 compared 
to todays daily build of 1.2.1 is that 1.2.1 has some extra spaces after 
the closes on xml tags.  I can't believe that would affect things.

I attached the messages.

Maybe it has to do with the way I am capturing the Soap messages - I'm 
using a logger on the Axis client - configured like so:

<deployment xmlns="http://xml.apache.org/axis/wsdd/" 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <handler name="log" 
type="java:edu.mayo.informatics.ctsDemo.XMLInterceptor"/>
    <globalConfiguration>
        <requestFlow>
            <handler type="log"/>
        </requestFlow>
        <responseFlow>
            <handler type="log"/>
        </responseFlow>
    </globalConfiguration>

    <transport name="http" 
pivot="java:org.apache.axis.transport.http.HTTPSender"/>
    <transport name="local" 
pivot="java:org.apache.axis.transport.local.LocalSender"/>
     <transport name="java" 
pivot="java:org.apache.axis.transport.java.JavaSender"/>
</deployment>

Maybe things are being rewritten in some way by the client, before the 
logger picks up the message?  I'll try to get something else set up to 
actually intercept the .NET messages.


I have attached the WSDL as ouput by axis when I go to this address...

http://..../axis/services/VocabRuntimeService?wsdl

for both the RC2 build and the 1.2.1 daily build.  The only difference I 
can see in the WSDL is the way that string arrays are handled.

Yet, when I use .NET and generate stubs against RC2, everything works.  
When I build stubs against 1.2.1 - all of my array return type of 
complex objects only return 1 item.



Here is how I initially generated the WSDL (from an ant verbose mode 
run, ignore the ant [java] stuff...)

[echo] Generating build/wsdl/VocabBrowser.wsdl from 
org.hl7.CTSVAPI.BrowserOperations
     [java] Executing 'C:\Program 
Files\Java\j2sdk_1.4.2_05\jre\bin\java.exe' with arguments:
     [java] '-classpath'
     [java] 'C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\build\idljava\classes;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\xerces.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\xml-apis.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\build\lib\ctsImpl.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\CTSUtility.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\build\wsdljava\classes;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\activation.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\axis-ant.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\axis.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\commons-discovery-0.2.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\commons-logging-1.0.4.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\jaxrpc.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\log4j-1.2.8.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\mail.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\saaj.jar;C:\Eclipse 
Projects\general-workspace\CTS\hl7spec\extLib\axis\wsdl4j-1.5.1.jar'
     [java] 'org.apache.axis.wsdl.Java2WSDL'
     [java] '-o'
     [java] 'build/wsdl/VocabRuntime.wsdl'
     [java] '-n'
     [java] 'urn://hl7.org/CTSVAPI'
     [java] '-i'
     [java] 'org.hl7.CTSVAPI.refImpl.RuntimeOperationsImpl'
     [java] '-lhttp://localhost:8080/axis/services/VocabRuntimeService'
     [java] '-porg.hl7.cts.types=urn://cts.hl7.org/types'
     [java] '-porg.hl7.CTSMAPI=urn://hl7.org/CTSMAPI'
     [java] '-porg.hl7.CTSVAPI=urn://hl7.org/CTSVAPI'
     [java] '-y'
     [java] 'WRAPPED'
     [java] 'org.hl7.CTSVAPI.RuntimeOperations'
     [java]
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.


>  
>

Mime
View raw message