Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Axis2 Namespace for every element at soap response
Axis2 Namespace for every element at soap response [message #694576] Fri, 08 July 2011 21:49 Go to next message
carlos.castroy is currently offline carlos.castroyFriend
Messages: 1
Registered: July 2011
Junior Member
I'm developing a web service using eclipse's tools (New Web service).
Everything works fine. The issue it's that my client requires this format in the soap response.

SOAP:Envelope
    xmlns:SOAP="htp://schemas.xmlsoap.org/soap/envelope/">
   <SOAP:Header />
   <SOAP:Body>
      <ns1:getCustomerInformationResponse xmlns:ns1="htp://www.a.com/PartStoreRequiredService">
         <ns1:return>
            <ns2:countryCode xmlns:ns2="htp://customerlookup.partstore.domain.webservice.midtier.websolutions.dcs.cat/xsd">US</ns2:countryCode>
            <ns2:currInd xmlns:ns2="htp://customerlookup.partstore.domain.webservice.midtier.websolutions.dcs.cat/xsd">USD</ns2:currInd>
            <ns2:custCityState xmlns:ns2="htp://customerlookup.partstore.domain.webservice.midtier.websolutions.dcs.cat/xsd">nevada NV</ns2:custCityState>
            <ns2:custName xmlns:ns2="htp://customerlookup.partstore.domain.webservice.midtier.websolutions.dcs.cat/xsd">Las Vegas JD Dealer</ns2:custName>





And mine is in the following format


<soapenv:Envelope
    xmlns:soapenv="htp://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="htp://www.w3.org/2001/XMLSchema"
    xmlns:xsi="htp://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <getCustomersInformationResponse xmlns="htp://services.partstore.a.com">
         <getCustomersInformationReturn>
            <accStkOrders>1</accStkOrders>
            <countryCode>1</countryCode>
            <currInd>1</currInd>
            <custAddr1>1</custAddr1>
            <custAddr2>1</custAddr2>
            <custAddr3>1</custAddr3>
            <custCityState>1</custCityState>
 


I don't know how to achieve this. Im using Eclipse Galileo with WTP and Tomcat 5.5 on Java 1.6. I read post from people trying to get rid from the namespaces, while I need them. Thanks for any help.

[Updated on: Fri, 08 July 2011 21:51]

Report message to a moderator

icon4.gif  Re: Axis2 Namespace for every element at soap response [message #890324 is a reply to message #694576] Fri, 22 June 2012 00:02 Go to previous message
JUAN MENDOZA is currently offline JUAN MENDOZAFriend
Messages: 1
Registered: June 2012
Junior Member
Hi.

I have the same problem, did you find any solution.

Regards.

Juanjo
Previous Topic:Wrong server path but the Eclipse won't let me fix it
Next Topic:Problems about pageDesignerExtension
Goto Forum:
  


Current Time: Fri Mar 29 08:19:31 GMT 2024

Powered by FUDForum. Page generated in 0.05055 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top