> > ----- Original Message ----- > > I've been working on a project for work that requires me to use SOAP. > > I've been going a bit nuts trying to get it to produce SOAP envelopes > > in the > > needed format through Perl's SOAP::Lite. The web service owner doesn't > > have any Perl programmers or a Perl example. > > > > A long time back I got an O'Reilly book, Programming Web Services with > > SOAP (2002). It helped a little but organization isn't the best, > > examples switch > > between Perl, C++, Java, and VB and it doesn't explain everything I > > need (probably later advancements). > > > > Web sites I have visited (Google each next part I need) have helped > > some, but generally only answer small parts. When it doesn't work it > > is trial and > > error. > > > > Can anyone recommend a web source, book, etc. that would help me > > figure this > > out? I really need to get this working as quickly as I can. > > > > Paul Boniol > > > > On Tue, Aug 30, 2011 at 8:02 AM, Steven S. Critchfield <[email protected] > wrote:
> Paul, you have left out some key items on what you are trying to > accomplish. > > At my current day job, we used SOAP with SOAP::Lite pretty extensively. > What we found though was that if perl was the consumer of the SOAP > interface, everything was very loose on complaining about standards. But as > we had some PHP apps trying to consume our perl SOAP interfaces, well it > would fail if we hadn't put a proper WSDL in place. We had a module that let > us write perldoc style documentation that was translated to WSDL for us. > That solved part of the problem. > > What we noticed was that if the WSDL we created differed from what was > sent, the PHP library on the other side would try and coerce the value into > the type that it expected. Rarely was it what we wanted. > > I'll attach here a app we used that was for testing output of our services > layer using Soap::Lite. > -- > Steven Critchfield [email protected] > > There is a service with WSDL that we are to use (when I did our own SOAP interface many years ago, I didn't know anything about a WSDL). I hear they are primarily Java programmers. They gave us a sample of a soap envelope to send them information. I had been trying to get there using SOAP::Lite. I don't think I'm too far away, but there are some differences in the debugging info that SOAP::Lite is giving me and how they formatted things. E.g. the soap envelope tag isn't the same tag as the example... Not sure if this is a deal breaker or not. In some ways I would hate to throw out what I've already done, for something else I've never done. But there may be irreconcilable differences. Give me a database query/update, report spec, data manipulation, etc. no problem. Web communications... just haven't had the need before. So I'm just totally out of my element. Paul Boniol -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en
