NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
NuSOAP XML


Joined: 26 Apr 2005
Posts: 2
Reply with quote
I have a situation were I have a client (not mine) sending me an XML message to my server.

How can I use NuSOAP to get this message rather than accepting a variable?

My client does not send to a named service, just to my website.
View user's profileFind all posts by masterlodiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Without the details, I'm not sure what you're looking for...
Perhaps you want to implement SOAP service based on NuSoap library. In this case you may want to see NuSoap sample:
nusoap-sample-s-t55.html
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 26 Apr 2005
Posts: 2
Reply with quote
I have a client that is passing XML such as the below to me. All the examples I've seen for NuSoap have a named service such as

Code:
$response = $client->send($mysoapmsg, $soapaction);


My client doesn't specify a named service, it just sends the XML to my server, just like using DOM with ASP.

I wish to create a NuSOAP server to handle this...

Code:
<contact>
   <name>
      <first>John</first>
      <last>Smith</last>
   </name>
   <address city="PleasantVille" state="CA" zip="92222">
      <street>1 Main Street</street>
      <street>Apt. #5</street>
   </address>
   <website>www.johnsmith.com</website>
   <email>john@smith.com</email>
   <email>John.Smith@smith.com</email>
</contact>
View user's profileFind all posts by masterlodiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
this XML looks like piece of data and nothing specified what to do with it. For example, client might want to find this data, might want to delete entries that matches the fields, might want to update data etc... Nothing is said he wants to add new record.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
NuSOAP XML
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic