Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Two wsdl file defintions in the same file

by palette (Scribe)
on Mar 25, 2009 at 08:52 UTC ( [id://753059]=perlquestion: print w/replies, xml ) Need Help??

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

I want two different wsdl defintions to be defined in the same SOAP client stub class.
I use stubmaker.pl to create the SOAP client for me.

How can I automatically generate a single SOAP client stub with 2 wsdl's

Not sure whether such thing can be done.

If can't be done automatically pls guide with ways to do it effectively.

  • Comment on Two wsdl file defintions in the same file

Replies are listed 'Best First'.
Re: Two wsdl file defintions in the same file
by jhourcle (Prior) on Mar 25, 2009 at 14:44 UTC

    I suspect that it'd get a bit messy to maintain in the long run.

    What I'd do is to make two separate stubs, and then use a third object that inherits (or uses, as appropriate) the two services.

    There may be some better way, but without explaining what you're trying to do, I can't offer any advice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://753059]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found