Web Service xmlns tag

X

XZ

Hi guys. We have to develop some web service based our clients requirement.
From their specification, they will send us the message request like the
following:

<?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:Header>
<xxx:TransactionID
xmlns:xxx="http://www.xxx.com.au/BankDetails"></xxx:TransactionID>
<xxx:MessageType
xmlns:iag="http://www.xxx.com.au/BankDetails"></xxx:MessageType>
<xxx:UserValidation
xmlns:iag="http://www.xxx.com.au/BankDetails">
<UserID></UserID>
<Password></Password>
</xxx:UserValidation>
</soapenv:Header>
<soapenv:Body>
<BankDepositDetails>
<BankDepositReference></BankDepositReference>
<BankDepositDate></BankDepositDate>
<BankDepositAmount>+</BankDepositAmount>
</BankDepositDetails>
</soapenv:Body>
</soapenv:Envelope>

You can see the problem to me is obviously they are missing the
xmlns="http://www.xxx.com.au/BankDetails" in the BankDepositDetails element
of the soap body.
First, I am thinking if I can modify it in my SoapExtension class. But after
I test, the soap message can not even get to the extension class because the
xmlns tag missing.

So what do you guys think I can do? HTTP Handler maybe one way but is it the
only way? We dont want to ask the client to change it, they may have their
java side soap standard.

Thanks,


They maybe use java to
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top