hmaire
8 years agoNew Member
why do i have namespace instead type ?
Hello All,
I made a first version of a web service project. After adding many functionalities, the project was a mess. So I decided to reorganize that.
I used the wsdl from the messie project, changed namespace, and generated (Eclipse Neon / TopDown / ADB) the new source files. Off course, I had to move the BusinessLogic Packages too.
The new project looks perfect to my eyes.
But (there is always a but :) ), what shows me SoapUI is very different. This is what I see :
Old Project :
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Body> <ns:XYZResponse xmlns:ns="http://webservice.amasiret.amabis.com"> <ns:return xsi:type="ax23:ReponseXYZ" xmlns:ax24="http://document.Extension.siretisation.amabis.com/xsd" xmlns:ax21="http://amasiret.amabis.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ax23:extension xsi:type="ax24:ExtensionDocument"> <ax24:GEOCODEXT xsi:type="ax24:GEOCODEXT"> </ax24:GEOCODEXT> </ax23:extension> </ns:return> </ns:XYZResponse> </soapenv:Body> </soapenv:Envelope>
New Project :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <ns8:siretisationResponse xmlns:ns8="http://webservice.amasiret.amabis.com"> <ns8:return> <GEOCODEXT xmlns="http://document.extension.webservice.amasiret.amabis.com/xsd"> </GEOCODEXT> </ns8:return> </ns8:siretisationResponse> </soapenv:Body> </soapenv:Envelope>
As you can see, the node GEOCODEXT comes with a type attribut in the old messie project and a namespace in the new project.
Does anyone could help me ?
All my thanks are already acquired to you.
Regards,
Henri