Hi Simon,

* Simon Cruickshank ([email protected]) [170405 10:00]:
> First post. Be gentle :-)

We should always be gentle ;-b

>     ($answer, $trace) = $wsdl->call(Y_UK_WEBPORTAL_ATP => $request);

> Answer not populated. Presumably because of warning message?
> <ATP_COV>83.000</ATP_COV>
> <RETURN>
>     <TYPE>W</TYPE>
>     <ID>M3351Material VSB22I</ID>
>     <NUMBER>750</NUMBER>
>     <MESSAGE> not maintained in plant 6000</MESSAGE>
      ...

Quite often error returns contain bugs... just as in any program.

> This works with older versions with precompiled Perl libraries wsdl2perl.
> Is there a parameter/switch that I can use to still populate the
> answer despite the RETURN population. Is it that the Return is
> incorrectly populated?

You catch the $trace which contains debug information, amongst things
an error message.

   print $trace->error;

Have you produced a template of the call?

   $wsdl->explain(Y_UK_WEBPORTAL_ATP => PERL => OUTPUT, recurser => 1);

Compare the template with the returned message.  The XC error message
cannot always pinpoint the exact location of the problem.
-- 
Success

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       [email protected]                          [email protected]
http://Mark.Overmeer.net                   http://solutions.overmeer.net


_______________________________________________
Xml-compile mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile

Reply via email to