Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Setting the Prefix for a SOAP Response via SOAP::Data

by Anonymous Monk
on Sep 17, 2008 at 07:33 UTC ( #711901=note: print w/replies, xml ) Need Help??

in reply to Setting the Prefix for a SOAP Response via SOAP::Data

soap-lite xmlns:order -> Registering namespaces with SOAP::Lite

So I would try
sub Submit {return (SOAP::Data->name('SubmitResponse')->type('xml') -> +attr({'xmlns:order'=""})->va +lue(ECHODataOrder::DataOrderRequest(@_)));}
Of course I would run it through perltidy first
sub Submit { return ( SOAP::Data->name('SubmitResponse')->type('xml')->attr( { 'xmlns:order' = " +nt" } )->value( ECHODataOrder::DataOrderRequest(@_) ) ); }
I don't know much about XML/SOAP, but I don't think the part you're interested in ('xmlns:order') is called a prefix :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://711901]
[reisinge]: 'push @foo, @bar' is the same as '@foo = (@foo ,@bar)' ?
[shmem]: yes, at least for the result in @foo
[shmem]: but the results of both operations are different.
[shmem]: result := the discarded result (what's leftmost of the statement)
[shmem]: push returns the number of elements in @foo, the assignment returns all the elements in the (renewed) @foo

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-04-27 11:38 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (503 votes). Check out past polls.