xml - How does the SOAP server determine which operation it should perform? -
I want to ask what should be in the body element of the SOAP request. I would think that this should be an element defining the name of an operation, which I want, I would also agree that inside this element there should be a structure related to the input parameters of this operation.
However, if I take the following WSDL: and Sophodi generate a request for the GetStatusNespolehlivyPlatce operation, the content of the request will be:
& lt; Soapenv: envelope xmlns: soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: roz = "http: / /adis.mfcr.cz/rozhraniCRPDPH/"> & Lt; Soapenv: header / & gt; & Lt; Soapenv: body & gt; & Lt; Daily: StatusNespolehlivyPlatceRequest & gt; & Lt; Daily: DIC & gt; 00247618 & lt; / Daily: DIC & gt; & Lt; / Daily: StatusNespolehlivyPlatceRequest & gt; & Lt; / Soapenv: Body & gt; & Lt; / Soapenv: envelope & gt; & lt; Soapenv: body & gt;
is not the name of the operation (getStatusNespolehlivyPlatce), but GetStatusNespolehlivyPlatce is the name of the corresponding input parameter of the operation. How does SOAP server detect that I am implementing GetStatusNespolehlivyPlatce Operation? -
Does the server use the HTTP SOAPAction
header to determine? (Which is in this case: SOAPAction: "")
-
The server estimates complete operation with built-in WSDL and SOAP requests (i.e. the HTTP header is not being viewed) ?
-
If SOAP requests should be shown in accordance with W3C standard (if from the server provider perspective) I decided not to use I (SOAPECTION)
?> HTTP header?
Is it true that the use of the SOAPAction
header is not compulsory and this is just one information that works for it Simplifies firewalls so they do not need to parse information about the requested operation from the XML request ?
Thank you for your time.
If I give you an example of Axis 2 framework, this service uses the following steps to identify the operation. I details are outlined in the URL below
- < Li> HTTP request uri
- SOAP physical element's first child's cue name
- If the WS-addressing is EPR (endpoint reference) and the action element The address is enabled
Comments
Post a Comment