Hammy has asked for the wisdom of the Perl Monks concerning the following question:

Good Evening, I am new to the SOAP world and I am having a little bit of difficulty. I am trying to generate a stub (using stubmaker.pl) from a given service (actually I have tried many different services). I continually get an error in Parser.pm on the following line:   $result = $expat->parse($arg);

I have read in the Q&A something about building it into Apache. I am not extremely Administrator savy and I do not believe I have access to changing the version or build because I am in a hosted environment. I do have access to configuration files though.

I would think making a call to the given service would be pretty straight forward according to the documentation, but I continually get nothing back. When I run the service with ?wsdl, the results look proper so I think it is me. Any thoughts or was my question too vague? Thanks for any help you can offer.

Replies are listed 'Best First'.
Re: SOAP Client Issue
by chromatic (Archbishop) on Apr 08, 2004 at 04:25 UTC

    That is pretty vague. What is the exact error message you receive?

    My guess is that you're receiving poorly-formed XML, but that's just a guess. Can you narrow down the problem to a small call and response and post that XML as well?

      Thank you for your reply. I am not sure I fully understand what I am doing yet, but I do understand what I did wrong to begin with. I was trying to run stubmaker.pl off the .wsdl file. The problem is - I created the .wsdl by grabbing the contents of the browser and not grabbing the contents of the view source. Once I grabbed the view source to build the .wsdl, the examples worked so I am almost there. I may have clarification questions, but for now I am off. Again, thanks for responding to me.