Jump to content
Server Maintenance This Week. ×

Web Services Manager and SOAP to create first POST request


This topic is 2037 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hello,

I am trying to create my first POST request and the response I get is:

 

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
   <Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP-ENV:Fault xmlns="" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <faultcode>SOAP-ENV:Client</faultcode>
         <faultstring>This is an empty request; you must send XML data via POST. If you can confirm POST data was in fact sent, then check your pe_application_log.txt file for scripting errors.</faultstring>
      </SOAP-ENV:Fault>
   </Body>
</Envelope>

 

I am sending the following info with SOAPUI that results in the above:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsm="http://fms.********.com/WSMtestbestand">
   <soapenv:Header/>
   <soapenv:Body>
      <wsm:FindReportResults>
         <wsm:Token>"BA0617DA-0CDD-3246-BEE5-7167EBD6161E"</wsm:Token>
         <wsm:ReportID>212312312</wsm:ReportID>
      </wsm:FindReportResults>
   </soapenv:Body>
</soapenv:Envelope>

POST http://fms.********.com/websvcmgr.php HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 401
Host: fms.********.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

 

How can I get the two parameters Token and ReportID passed into the FileMaker file?

 

Regards,

 

Baran

 

 

 

Link to comment
Share on other sites

This topic is 2037 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.