• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Web Services

Penth

Senior member
I got some software that works with our POS software to update inventory to our online store. Our cart software (osCommerce) isn't supported out of the box though. I have to write a web service that takes a SOAP encapsulated XML file and parses the data to get item numbers and quantities.

I have a WSDL file from a server that is supported, so I would think based on that I could make a server that does the same thing as the supported cart. I just don't know where to start. Maybe someone can help me out or point me to a good tutorial. All the ones I have found aren't very helpful.

I installed NuSOAP for PHP and followed one tutorial that calculated tax, but the values were passed into the client through the url and grabbed using $_GET['rate']. I don't know how the server is supposed to accept the SOAP stuff. Maybe I don't even need to know how.

Can someone help get me started if I can show them the WSDL or something?
 
If you're using java look at Axis webservices. If you have a WSDL file you can generate a client class that will basically do everythign for you. Unfortunately I can't help you with PHP.
 
wsdl2java generates client code, as you said. He's writing server code.

As for the php stuff, I'd keep googling for tutorials. The one that you found seems to have had nothing to do with SOAP whatsoever but I'm sure there's actual good stuff out there.
 
Back
Top