Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: XML Parsing issue with SOAP::Lite (xml declaration)

by erwanhumez (Novice)
on Mar 10, 2017 at 11:15 UTC ( [id://1184161]=note: print w/replies, xml ) Need Help??


in reply to Re: XML Parsing issue with SOAP::Lite (xml declaration)
in thread XML Parsing issue with SOAP::Lite (xml declaration)

Hi, the IP address has been hidden on purpose in the extract. Yet, your question makes me wonder whether the parsing issue on the request itself or in the response sent by the server. Is there any way i could find out ?
  • Comment on Re^2: XML Parsing issue with SOAP::Lite (xml declaration)

Replies are listed 'Best First'.
Re^3: XML Parsing issue with SOAP::Lite (xml declaration)
by Corion (Patriarch) on Mar 10, 2017 at 11:21 UTC

    If you get Client-Warning: Internal response, then LWP never talked to the remote server.

    So, there is an issue that A.B.C.D does not listen on 8443 from your host. Maybe you need a proxy.

    I would first debug the TCP connection from the client to the server on port 8443, by trying with another HTTP client like wget or curl.

      I already checked that HTTPs connection which seems fine and i do get quite some payload back from the server:
      11:26:39.563856 IP clientserver.55766 > A.B.C.D.pcsync-https: Flags [S +], seq 1975907677, win 29200, options [mss 1460,sackOK,TS val 2401372 +060 ecr 0,nop,wscale 7], length 0 11:26:39.564017 IP A.B.C.D.pcsync-https > clientserver.55766: Flags [S +.], seq 3050450316, ack 1975907678, win 14480, options [mss 1460,sack +OK,TS val 561024198 ecr 2401372060,nop,wscale 7], length 0 11:26:39.564041 IP clientserver.55766 > A.B.C.D.pcsync-https: Flags [. +], ack 1, win 229, options [nop,nop,TS val 2401372061 ecr 561024198], + length 0 11:26:39.564174 IP clientserver.55766 > A.B.C.D.pcsync-https: Flags [P +.], seq 1:248, ack 1, win 229, options [nop,nop,TS val 2401372061 ecr + 561024198], length 247 11:26:39.564274 IP A.B.C.D.pcsync-https > clientserver.55766: Flags [. +], ack 248, win 122, options [nop,nop,TS val 561024198 ecr 2401372061 +], length 0 11:26:39.565747 IP A.B.C.D.pcsync-https > clientserver.55766: Flags [P +.], seq 1:833, ack 248, win 122, options [nop,nop,TS val 561024199 ec +r 2401372061], length 832 11:26:39.565752 IP clientserver.55766 > A.B.C.D.pcsync-https: Flags [. +], ack 833, win 242, options [nop,nop,TS val 2401372062 ecr 561024199 +], length 0 11:26:39.566007 IP clientserver.55766 > A.B.C.D.pcsync-https: Flags [P +.], seq 248:255, ack 833, win 242, options [nop,nop,TS val 2401372062 + ecr 561024199], length 7 11:26:39.566158 IP A.B.C.D.pcsync-https > clientserver.55766: Flags [F +.], seq 833, ack 255, win 122, options [nop,nop,TS val 561024200 ecr +2401372062], length 0 11:26:39.566163 IP clientserver.55766 > A.B.C.D.pcsync-https: Flags [F +.], seq 255, ack 833, win 242, options [nop,nop,TS val 2401372063 ecr + 561024199], length 0 11:26:39.566173 IP clientserver.55766 > A.B.C.D.pcsync-https: Flags [. +], ack 834, win 242, options [nop,nop,TS val 2401372063 ecr 561024200 +], length 0 11:26:39.566262 IP A.B.C.D.pcsync-https > clientserver.55766: Flags [. +], ack 256, win 122, options [nop,nop,TS val 561024200 ecr 2401372063 +], length 0

      Also, i'm using the exact same URL as the one i'm using in SOAPUI to call the web service.
      If the parsing issue is on the response, is there any function i should use to parse/decode the response ?.

        Maybe SOAP::Trace helps you. At least you get to see the headers that get sent out. If all else fails, you can then try to send the same headers and body with LWP::UserAgent directly to better see what happens without involving SOAP::Lite.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-24 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found