I am having a similar problem and sent a mail off to paulclinger@... <mailto:paulclinger@...> , but I'll post here too. --CUT-- Paul, First off,...
5075
Eric Bridger
ebridger2004
Dec 29, 2005 2:58 pm
Not really sure but you could try: SOAP::Lite->service(...) ->use_prefix(0) Also see: SOAP::Lite->serializer->register_ns(namespace, prefix); Eric...
5076
Byrne Reese
byrnereese
Dec 29, 2005 3:57 pm
I am sorry you guys are experiencing problems. I had a feeling this was going to trip people up, which is why I documented this change so thoroughly. The...
5077
cubrewer
Dec 29, 2005 4:54 pm
... Byrne, I'm having this trouble too after examining the pages you reference. I'm using the 3-line client code directly from the documentation. The relevant...
5078
Alan Mead
cubrewer
Dec 29, 2005 6:05 pm
Aside from the use_proxy() warning, I can run the client (hibye.pl) from the docs just fine but when use my slightly modified code pointed at my own server...
5079
cubrewer
Dec 29, 2005 6:08 pm
... I guess the issue is that uri() is depreacted as well and if you substitute ns() or default_ns() for uri() then all is well: print SOAP::Lite ->...
5080
cubrewer
Dec 29, 2005 6:38 pm
... I guess either of these name spaces work: -> ns('http://localhost/Demo') -> ns('Demo39;) When is the host part of the namespace needed/matter? -Alan...
5081
Byrne Reese
byrnereese
Dec 29, 2005 8:40 pm
SOAP::Lite uses the namespace to route a request to the right code/suibroutine handler. Technically, a namespace needs to be a valid URI, like "urn:Test". I...
5082
Dan Horne
kilgoretroutnz
Dec 29, 2005 10:37 pm
Hi Byrne I'm afraid that I haven't been able to make much progress. The code from the generated stub makes no explicit reference to "use_prefix" (I've pasted...
5083
Byrne Reese
byrnereese
Dec 29, 2005 11:07 pm
Damn. Ok. This could be a hack, but let's see if we can't nail this down: Do you see the following code in the stub? $self->endpoint($method{endpoint}) ...
5084
Dan Horne
kilgoretroutnz
Dec 29, 2005 11:23 pm
Alas, ns doesn't work - it raises a Java exception at the server end -- but default_ns does. Thanks Dan...
5085
Amanda Chou
Amanda_Chou
Dec 30, 2005 1:21 am
Hello SOAP::Lite experts, I wonder if there is a way to add attributes to <detail> to satisfy the following WS-I Basic Profile requirement? R1003 A RECEIVER...
5086
Byrne Reese
byrnereese
Dec 30, 2005 7:19 am
Please consult http://www.majordojo.com/soaplite/ for the articles about composing messages with complex types......
5087
nbartusi
Dec 30, 2005 4:01 pm
Thanks for the link. The code did help get a similar section working. Unfortunately I am still getting the same error with this service, 'Invalid element in ...
5088
Eric Bridger
ebridger2004
Dec 30, 2005 5:40 pm
Just an FYI. The Schema POD has it a bit wrong: Missing the schema object. I got the following to work as expected: my $code = SOAP::Lite->new(service => ...
5089
Eric Bridger
ebridger2004
Dec 30, 2005 6:04 pm
Hmmm. This has been an educational thread, but back to the original post yesterday. The code below works as expected with no warnings about use_prefix. ... ...
5090
Dan Horne
kilgoretroutnz
Dec 30, 2005 7:23 pm
Hi Eric Are you sure? I've just installed the new 0.66 version SOAP::Lite on three different machines, and all exhibit the behaviour. From the uri method: ...
5091
Eric Bridger
ebridger2004
Dec 30, 2005 7:37 pm
Well I am still using version: .65_6 use SOAP::Lite; print SOAP::Lite -> service('http://www.xmethods.net/sd/StockQuoteService.wsdl') -> getQuote('MSFT'); ...
5092
Dan Horne
kilgoretroutnz
Dec 30, 2005 7:44 pm
.65_6 doesn't have this warning...
5093
Dan Horne
kilgoretroutnz
Dec 30, 2005 7:50 pm
... Sorry, actually that's not true, but I can't test it .65_6. Dan...
5094
sudhakar_jpr
Dec 31, 2005 4:56 am
Hi All, Happy new year I made successfully complex with in complex type perl client .but i cant get return value .i used soap::som package.but its failed to ...
5095
Don Seiler
dtseiler
Dec 31, 2005 5:55 am
... Hash: SHA1 Hullo all. I'm writing a SOAP server (CGI), and some of the functions need to take in XML strings as arguments. However it looks like the SOAP...
5096
Don Seiler
dtseiler
Dec 31, 2005 5:58 am
... Hash: SHA1 ... Forgot to mention that this is in SOAP::Lite 0.60. - -- Don Seiler don@... Public Key:...
5098
wanda_b_anon
Dec 31, 2005 10:35 pm
A specific server has defeated my knowledge of SOAP::Lite, so I am coming to the list for some help. The service I want to write a client for is described at ...
5099
Dan Horne
kilgoretroutnz
Jan 1, 2006 3:05 am
How about: #!/usr/local/bin/perl use SOAP::Lite; my $wsdl = 'http://ops.espacenet.com/OpenPatentServices/OpenPatentServices.wsdl'; my $req_xml = <<EOT; ...
5100
Byrne Reese
byrnereese
Jan 1, 2006 3:30 am
Perhaps this article may help: http://www.majordojo.com/soaplite/2003/05/composing_messa.html...
5101
Dan Horne
kilgoretroutnz
Jan 1, 2006 3:38 am
Sorry, I don't understand. Are you saying that I shouldn't send XML as shown below?...
5102
Byrne Reese
byrnereese
Jan 1, 2006 3:46 am
I am pretty sure that won't work. SOAP::Lite will interpret the text as a string that needs to be XML escaped - not as XML that should be included as-is....
5103
Dan Horne
kilgoretroutnz
Jan 1, 2006 3:50 am
Er, it works for me...
5104
Dan Horne
kilgoretroutnz
Jan 1, 2006 4:28 am
After further testing: it works in 0.66. For older versions you'll need to escape the xml tags....