Using WSDL2Java ensures that the Axis runtime has all the meta-data it needs about 
objects on the client side.  Using it to produce the service side WSDD file would also 
be good.

In any case, I don't think you should fixate on this as the problem.
See if you can isolate a test case where the case of the XML differs from the WSDL and 
then you can file a bugzilla report.

--
Tom Jordahl
Macromedia Server Development



-----Original Message-----
From: Lasker, Kory [mailto:klasker@;qwest.com]
Sent: Wednesday, October 23, 2002 4:06 PM
To: '[EMAIL PROTECTED]'
Subject: RE: WSDL and SOAP response inconsistencies


Tom,

Thanks for the response.

Pardon my lack of understanding, but what exactly should I be doing to
provide meta-data information for my objects that I put on the wire?  Is
this in the object itself or somewhere else?

Kory

-----Original Message-----
From: Tom Jordahl [mailto:tomj@;macromedia.com] 
Sent: Tuesday, October 22, 2002 4:04 PM
To: '[EMAIL PROTECTED]'
Subject: RE: WSDL and SOAP response inconsistencies



Could be bugs in the name mapping, but note that JAX-RPC has specific rules
as to how names in WSDL are mapped to Java names, and Axis tries to follow
these rules.  At various points in development, this has gotten LOTS of
attention. :-)

If a name is mangled, however, the Meta-data (particularly in the JavaBean
class) should contain the 'unmangled' XML QName of the member element and
this should get used when putting XML on the wire.


--
Tom Jordahl
Macromedia Server Development



-----Original Message-----
From: Lasker, Kory [mailto:klasker@;qwest.com]
Sent: Tuesday, October 22, 2002 4:07 PM
To: '[EMAIL PROTECTED]'
Subject: WSDL and SOAP response inconsistencies



Can anyone give me a good explanation of why my SOAP-encoded RPC responses
do not always obey my mixed case object name and attributes.

For example, if I get a simple response back that includes a "StreetAddress"
object, why does the SOAP response look like this:

...
<multiRef id="id0" SOAP-ENC:root="0"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding";
xsi:type="ns4:StreetAddress" xmlns:ns4="http://myuri.org";>
  <ERRORMSG xsi:type="xsd:string"></ERRORMSG>
  <REGION xsi:type="xsd:string"></REGION>
  <streetAddress href="#id1"/>
</multiRef>

Notice the lower case "s" in streetAddress (this should be StreetAddress
according to the WSDL and my objects).

Moreover, within the StreetAddress object I have a field called "IsRanged"
that is returned by SOAP as "isRanged".

Any ideas?

Kory

Reply via email to