Treating XML input parameters of a SOAP request as a string

Pomzung's Blog

When I was doing a senior project with my friends before graduating, I faced a lot of problems that had never found in classes. One problem that I feel like we had no way to solve it is about an XML input parameter of SOAP request. Why? The structure of SOAP request is an XML document as the figure below. As such, when it’s being sent to desired web service, they will treat the SOAP request as an XML via the XML parser to extract the parameter for further uses inside the web services.

<?xml version="1.0" encoding="utf-8" ?>
     <SendCustomer xmlns="http://namespace">
	       <?xml version="1.0" encoding="utf-8" ?>

It would be no problem, If the parameter inside, which is

<?xml version="1.0" encoding="utf-8" ?>

of this SOAP request, is just an ordinary “string”. The problem is coming…

View original post 180 more words


Comments, please?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s