Home > database >  PB call WEBAPI JSON string data interaction
PB call WEBAPI JSON string data interaction

Time:10-10

Please use PB how to invoke WEBAPI service for data interaction? Interactive data format is a JSON string,

CodePudding user response:

Describe the problem in detail

CodePudding user response:

We are hospital, to transfer data to the social security bureau, open to the hospital by calling the social security of WebAPI interface service implementation data interaction, method, as shown in the following
String sendReveForHospital (
HApiCode,
HPlatCode,
HUserCode,
HUserOrgCode,
HUserIP,
HData,
HSignData
);
Social security service address: http://200.10.20.34:8000/fshrssHisApi/openApi/sendReveForHospital
Including hApiCode number for function, hData for interactive data, format for JSON string, the other parameters for the platform and the operator information, I use PB how to invoke this service?

CodePudding user response:

reference 1st floor TheLittlePrince response:
describe the problem in detail point


We are hospital, to transfer data to the social security bureau, open to the hospital by calling the social security of WebAPI interface service implementation data interaction, method, as shown in the following
String sendReveForHospital (
HApiCode,
HPlatCode,
HUserCode,
HUserOrgCode,
HUserIP,
HData,
HSignData
);
Social security service address: http://200.10.20.34:8000/fshrssHisApi/openApi/sendReveForHospital
Including hApiCode number for function, hData for interactive data, format for JSON string, the other parameters for the platform and the operator information, I use PB how to invoke this service?

CodePudding user response:

This interface should not easily exposed,
Do you want to get the data, or to submit the data?

CodePudding user response:

reference 4 floor weixin_40712741 response:
this interface should not easily exposed,
Do you want to get the data, or to submit the data?

I am to submit data, then according to the results returned for further processing, the interface is not be able to access the Internet

CodePudding user response:

reference 5 floor lyth2729 reply:
Quote: refer to 4th floor weixin_40712741 response:

This interface should not easily exposed,
Do you want to get the data, or to submit the data?

I am to submit data, then according to the results returned for further processing, the interface is unable to access the Internet





(file path C: \ Program Files \ Sybase \ Shared \ (x86) original concept at the end of the 125 mean PB I used 125)

How do you can search for the use, pbsoapclient125. PBD?

CodePudding user response:

Calls the method above has said very detailed, then give you add
1. Spelling a json string, if don't want to own a little bit of writing, you can go to http://www.pblsoft.com/to download sailjson, rather easy to use
2. Don't know you use what pb is, if it is more than 10 version with above method is good. If it is under 10 test generation agent is a very luck and personality, if you can be born, go to https://www.soapui.org/to download a soapui, caught the full format, spelled in the pb using HTTP post way to invoke the web service.

CodePudding user response:

PB2017 DW support Json retrieval and update directly

CodePudding user response:

PFW framework, json and httpclient contains, directly use the most convenient; Otherwise, said in 7th floor sailjson, and n_inet n_internetresult geturl and posturl,

CodePudding user response:

http://200.10.20.34:8000/fshrssHisApi/openApi/sendReveForHospital? WSDL
The next tip can't find the no service

CodePudding user response:

I am using PB11.5
http://200.10.20.34:8000/fshrssHisApi/openApi/sendReveForHospital? WSDL
The next tip can't find the no service.
Do you do well, 1st floor, how to deal with it?

CodePudding user response:

The building Lord PFW httpclient object had look at the what you want

CodePudding user response:

If HTTP is used inet line, also n_inet, n_internetresult
I was written in the interface, return json succeeded
  • Related