Skip to Content
0
Nov 05, 2019 at 07:37 AM

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

331 Views

  • 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.

Attachments

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)