Fiddler calling Java webserivces

Source: Internet
Author: User

This is webservice written by Java and published successfully.

Using Fidder get calls and post calls

Get is relatively simple:

Http://192.168.3.176:8080/AppTestService/services/KRNet?method=doAction2&type=KR_GET_PATIENT&content=1

Post is a bit more complicated

<?xml version= "1.0" encoding= "Utf-8"?>
<soap:envelope xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd= "http://www.w3.org/2001/ XmlSchema "xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<doaction2 xmlns= "http://tempuri.org/" >
<type>kr_Get_patient</type>
<content> content is 1234</content>
</doAction2>
</soap:Body>
</soap:Envelope>

Here's an example:

Be sure to add SOAPAction to the header: ""

Otherwise it will prompt "no soapaction header!"

Fiddler calling Java webserivces

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.