Jump to content

PHP Soap issue "Looks like there is no XML Document" (application/xop+xml)


brummie

Recommended Posts

Hi, newbie here.  Hope you are all alright?  I am getting an XML response from a web service that starts off as below....

 

Content-Type: application/xop+xml; charset=UTF-8;

type="text/xml"

Content-Transfer-Encoding: 8bit

Content-ID: <[email protected]>

 

<soap:Envelope.............................

 

I can tell this from the __lastrequest function.. However PHP is throwing an error and not regonising it - I am getting Looks like there is no XML Document.

 

Fairly frustrating because when I do print out lastrequest I can see all the info there, but I can't get at it cause a soapfault has thrown.

 

Is there any known problem with the above header and PHP soap?

 

I'm not new to PHP but new to web services and feeling very lost.

 

Any help, info, pointers to websites that may help would be really gratefully accepted

 

Thanks,

vickie

 

Hi.

 

This is the error "error message:Object id #8looks like we got no XML document"

 

This is what I am getting back:-

 

------=_Part_654_6717175.1223042182217

Content-Type: application/xop+xml; charset=UTF-8;

type="text/xml"

Content-Transfer-Encoding: 8bit

Content-ID: <[email protected]>

 

<soap:Envelope

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><getForumMessageResponse

xmlns="http://jivesoftware.com/webservices"><out

xmlns="http://jivesoftware.com/webservices"><ID

xmlns="http://webservices.community.jivesoftware.com">1958</ID><anonymous

xmlns="http://webservices.community.jivesoftware.com">false</anonymous><attachmentCount

xmlns="http://webservices.community.jivesoftware.com">0</attachmentCount><body

xmlns="http://webservices.community.jivesoftware.com">I think

this test discussion is really good and I wanted to be part of

it</body><communityID

xmlns="http://webservices.community.jivesoftware.com">2059</communityID><communityIndex

xmlns="http://webservices.community.jivesoftware.com">1</communityIndex><creationDate

xmlns="http://webservices.community.jivesoftware.com">2008-09-18T09:46:48.349-04:00</creationDate><forumThreadID

xmlns="http://webservices.community.jivesoftware.com">1406</forumThreadID><imageCount

xmlns="http://webservices.community.jivesoftware.com">0</imageCount><moderationValue

xmlns="http://webservices.community.jivesoftware.com">1</moderationValue><modificationDate

xmlns="http://webservices.community.jivesoftware.com">2008-09-18T09:46:48.349-04:00</modificationDate><parentMessageID

xmlns="http://webservices.community.jivesoftware.com">1957</parentMessageID><subject

xmlns="http://webservices.community.jivesoftware.com">Re: This

is a test thread in ET</subject><unfilteredBody

xmlns="http://webservices.community.jivesoftware.com">I think

this test discussion is really good and I wanted to be part of

it</unfilteredBody><unfilteredSubject

xmlns="http://webservices.community.jivesoftware.com">Re:

This is a test thread in ET</unfilteredSubject><user

xmlns="http://webservices.community.jivesoftware.com"><ID>2030</ID><creationDate>2007-05-24T04:02:43.631-04:00</creationDate><email>[email protected]</email><emailVisible>true</emailVisible><enabled>true</enabled><modificationDate>2008-09-18T09:34:16.815-04:00</modificationDate><name>vickie

pring</name><nameVisible>true</nameVisible><password

xsi:nil="true"

/><username>vickiep</username></user></out></getForumMessageResponse></soap:Body></soap:Envelope>

------=_Part_654_6717175.1223042182217--

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.