axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <bu...@us.ibm.com>
Subject Re: Case weirdness in Wsdl2java
Date Fri, 21 Sep 2001 17:05:43 GMT
The emitter is naive.  It capitalizes the first character of the type name
because that's just the Java convention.  Class names are capitalized.

I don't know how to avoid that in your scenario.  The emitter assumes all
the types used in a WSDL are defined in the WSDL.  I don't know how you're
supposed to include Java types in a WSDL document.

Russell Butek
butek@us.ibm.com


Bob Cotton <bcotton@synxis.com>@synxis.com on 09/20/2001 06:11:37 PM

Please respond to axis-dev@xml.apache.org

Sent by:  bcotton@synxis.com


To:   axis-dev@xml.apache.org
cc:
Subject:  Case weirdness in Wsdl2java




Using 'java org.apache.axis.wsdl.Wsdl2java urn_InventorySync.wsdl'

in SrmsInventoryUploadSoapBindingStub.java


public Com.synxis.srms.hitis.inventorysync.SynXisInventorySynchronizatonRS
process(SynXisInventorySynchronization arg0) throws
java.rmi.RemoteException{
       ^- Why is this up-cased? Happens on the final cast before the
return.

My axis is from cvs, about 30 min ago.

Here is the axis-generated wsdl file: urn_InventorySync.wsdl

<?xml version="1.0" encoding="UTF-8"?>
<definitions targetNamespace="
http://foghorn:8080/axis/services/urn:InventorySync" xmlns="
http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="urn:InventorySync" xmlns:ns2
="java" xmlns:serviceNS="
http://foghorn:8080/axis/services/urn:InventorySync" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
  <message name="processRequest">
    <part name="arg0" type="ns1:SynXisInventorySynchronization"/>
  </message>
  <message name="processResponse">
    <part name="processResult" type
="ns2:com.synxis.srms.hitis.inventorysync.SynXisInventorySynchronizatonRS"/>

  </message>
  <portType name="SrmsInventoryUploadPortType">
    <operation name="process">
      <input message="serviceNS:processRequest"/>
      <output message="serviceNS:processResponse"/>
    </operation>
  </portType>
  <binding name="SrmsInventoryUploadSoapBinding" type
="serviceNS:SrmsInventoryUploadPortType">
    <soap:binding style="rpc" transport="
http://schemas.xmlsoap.org/soap/http"/>
    <operation name="process">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
" namespace="urn:InventorySync" use="encoded"/>
      </input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
" namespace="urn:InventorySync" use="encoded"/>
      </output>
    </operation>
  </binding>
  <service name="SrmsInventoryUpload">
    <port binding="serviceNS:SrmsInventoryUploadSoapBinding" name
="SrmsInventoryUploadPort">
      <soap:address location="
http://foghorn:8080/axis/services/urn:InventorySync"/>
    </port>
  </service>
</definitions>

- Bob

--
SynXis Corporation      | bob@synxis.com    | Obstacles are those frightful
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | things you see when you take
your
Denver, CO  80202       | Fax:(303)534-4257 | eyes off your goal.  -Henry
Ford




Mime
View raw message