[ http://issues.apache.org/jira/browse/AXIS-1905?page=history ]
Sanlaville R�my updated AXIS-1905:
----------------------------------
Attachment: MultiDiffusionWS.wsdl
deploy.wsdd
The wsdl and wsdd file for the getVersion example
> Axis - .NET - Namespace
> -----------------------
>
> Key: AXIS-1905
> URL: http://issues.apache.org/jira/browse/AXIS-1905
> Project: Axis
> Type: Bug
> Versions: 1.2RC3
> Environment: Server (Windows/Weblogic8.1 SP2) - Client (Windows/.NET v1.1)
> Reporter: Sanlaville R�my
> Attachments: MultiDiffusionWS.wsdl, deploy.wsdd
>
> I'm using Axis version 1.2RC3 for my Web Service on the server side
> We have to accept both Axis client (v1.2RC3) and .NET client (v1.1).
> You will find the wsdl and wsdd in attachment
> <<MultiDiffusionWS.wsdl>> <<deploy.wsdd>>
> I am facing with the following interoperability problem.
> If the .NET client invoke the getVersion method, our Web Service return this
> soap message :
> <?xml version="1.0" encoding="utf-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <getVersionResponse xmlns="http://mdws.rd.francetelecom.com">
> <getVersionReturn>
> <version>v1.0</version>
> </getVersionReturn>
> </getVersionResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> But the .NET client need this soap message
> <?xml version="1.0" encoding="utf-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <getVersionResponse xmlns="http://mdws.rd.francetelecom.com">
> <getVersionReturn>
> <version
> xmlns="http://model.mdws.rd.francetelecom.com">v1.0</version>
> </getVersionReturn>
> </getVersionResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> I don't understand why Axis does not generate the namespace
> http://model.mdws.rd.francetelecom.com for the node version (cf. wsdl).
> (Perhaps we also need a namespace for the node getVersionReturn).
> (From Anne)
> I think this is a bug in Axis. (please report it) .NET's interpretation of
> the schema is correct. getVersionReturn is in the
> http://mdws.rd.francetelecom.com namespace, and version is in the
> http://model.mdws.rd.francetelecom.com namespace.
> As a workaround, either define the getVersionReturn element in the second
> namespace, or define the type in the first namespace. You also might try
> removing the elementFormDefault attribute from the second schema, which would
> put version in no namespace.
> Anne
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.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