[Xml-compile] Help with compiling serializers and de-serializers

Mark Overmeer mark at overmeer.net
Sun May 22 22:11:12 GMT 2011


* Bill Moseley (moseley at hank.org) [110522 19:41]:
> Is only showing me code to create a client, which I don't need.

Ah, yes, you are using the Catalyst connector, which I did not write so
do not support.

> And then it only shows "Parameters" which is the data only for the
> createPersonRequest, and says nothing about "HeaderInfoParameters" for
> the imsx_syncRequestHeaderInfo data.

That can be considered a missing feature/bug.  I'll add that. But the
example may help you a bit.  You can also use  $wsdl->template($type, 'PERL')..
ro see data-types.

>> There's two input sections.  Can I compile a single subroutine to
>>> parse/de-serialize a message that includes both the header and body?  And
>>> likewise, create a single sub to encode/serialize?
> That's good news.  Is there an example you can point me to?

It should always work, no special example needed.  However, probably you
are stuck to the Catalyst component which I did not write.

> Or better, could you point out what I'm doing wrong here?  Again, I seem to
> only be able to specify compiles for individual parts.
>  http://hank.org/soap_compile.pl

The only thing I can contribute is: load 'XML::Compile:WSS' as well.

-- 
Regards,

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list