Home > Back-end >  A new company have a code I don't know is used to do, have a great god for help to reassure tha
A new company have a code I don't know is used to do, have a great god for help to reassure tha

Time:11-23

This code is to use org. Apache. Axis. Client. Call _call=createCall (); This is a jar under the apache bag things
  

This is the picture of the code, this is used for HTTP requests? If it is that what is the difference between the call and HTTP request, hope to understand the great god gives directions, online answer is not exactly

CodePudding user response:

Org. Apache. Axis. Client. Call, visual inspection is a webservice, then webservice return image binary data, address or actually written in the SRC is not necessarily the image, also can be written as an HTTP request, and then use the response on the request end output image binary data,

CodePudding user response:

Is the picture, the forehead, you code fragments, I understand the wrong, is adjustable webservice request anyway

CodePudding user response:

This picture not post right?

CodePudding user response:

Different way to comply with the agreement of the request, you this is soap protocol

SOAP: simple object access protocol (hypertext transfer protocol (HTTP is a standard

CodePudding user response:

This is to network the pictures above code

CodePudding user response:

This is a remote method invocation (rmi), you can also be understood as an HTTP request, a more specific point said, is a remote method invocation (rmi) based on HTTP protocol,

CodePudding user response:

6th floor said I seemed to understand, because before has been using HTTP to invoke the third-party interface, now the company use this is a bit is not very good, so this should be in the call HTTP remote interface

CodePudding user response:

Picture calls the url address

CodePudding user response:

A SOAP method can simply as follow the SOAP encoding rules of HTTP requests and responses, a SOAP can be as a terminal based on HTTP URL, it is used to identify the target of a method call.
- this is from wikipedia,
Namely, based on HTTP transport API interface using XML format exchange bai, now everyone play micro service, rest API, basically don't have to the XML format, is the JSON format,

CodePudding user response:

Some remote call way, SOAP protocol go, there are many kinds of remote call, for example, common HTTP dubbo

CodePudding user response:

Usually we send HTTP get HTML or json format document, which is like the soap will get XML types of data, can be as simple as HTTP is parallel with a set of things,

CodePudding user response:

This code can be converted into java.net.HttpUrlConnection, actually don't need to refer to any jars,
Set in the header: the content-type for application/XML, XML format in the soapui, filling parameters, send the past with respect to ok
  • Related