Forum Discussion
- richieCommunity HeroHi lerudine,
Just to clarify your post.
You have a SOAP project, there are two SOAP operations defined in the
.wsdl.
One or both of the SOAP requests associated with one or both of your operations has a blank payload? Youve already got a problem there. You dont get blank payloads in SOAP requests. The payload in SOAP requests are paramount because this isnt REST where you can control/filter your request based on the different REST parameters (query, header, matrix, uri/template), so the payload is everything. Also the method is typically POST which infers you need a payload.
When you say "When i call one of them,it call the other."
Q1. How are you calling the request?
Q2. How are the requests setup in SoapUI?
Essentially a second request shouldnt be submitted without some additional input, tailoring in the SoapUI project itself to force the second request to be executed, but people are going to need more info as to your issue.
Can you confirm how you are submitting your request? Just executing the SOAP request or have you got an associated test step and it is this thats being executed?
Can you confirm the contents of your SoapUI project (testsuite, testcase and teststep object hierarchy) if you are executing via a test rather than just submitting the SOAP request itself?
If you posted a screenshot or two, that'd no doubt help people visualise what youve got, your setup and what the problem and a possible fix might be.
Nice one
Rich
Confirm- lerudineNew Contributor
Both of them are in the same interface declaration. Same namespace.
Both of them have as request on soapui:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body/>
</soapenv:Envelope>the first operation :
@WebMethod
@WebResult(name = "verifyDocResponse")
public VerifyDocResponse verifyDoc() throws ApplicationFault;the second operation:
@WebMethod
@WebResult(name = "readDocResponse")
public ReadDocResponse readDoc() throws ApplicationFault;
Related Content
- 7 years ago
- 2 years ago
Recent Discussions
- 2 days ago
- 2 days ago