Skip to Content

How can I use Cloud Platform Integration call a public webservice and send response to my email

  • There is a public web service, That is input Chinese mobile number and response the mobile base info.

WSDL: http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl

Endpoint: http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx

The following picture is I used SoapUI test result.

  • Then I deploy it into the CPI, That is ok! I used postman test it.
  • Postman:

  • Now I want to add a function, I need to send that response to my Email.
  • I change the flow like this.

  • I don't know whether I used the request-reply component, or if I used it correctly!
  • Is it used to execute a service call and get response?
  • Now,When I deploy it, It is error. I don't what is the problem, and I don't what can I do.

Monitor message tell me is error, but service deployed, and I did not receive the mail.

  • I think the mail set is right, if I delete the request-reply component and connect end to reciver1 use mail adapter, I can get mail, but the mail content is soap request, not response, so that means the service is not call.
1.png (53.1 kB)
2.png (13.8 kB)
3.png (99.2 kB)
5.png (15.2 kB)
6.png (68.3 kB)
7.png (68.6 kB)
8.png (60.1 kB)
9.png (26.1 kB)
10.png (87.7 kB)
11.png (77.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Nov 05, 2019 at 07:47 AM

    Hi Kun wu,

    Could you try removing(delete) the first property you have set SOAPAction which you have set as blank and then redeploy the interface.

    if this doesnt resolve the issue request if you could share the mail channel parameters as well.

    hope this helps,

    thanks and regards,

    Praveen T

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 05, 2019 at 09:39 AM

    Hi Kun wu,

    Yes request-reply is a perfectly fine.

    thanks and regards,

    Praveen T

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.