Forum Discussion

Oyawalo's avatar
14 years ago

Internal Server Error [500]. Please Help!

Hi Everyone,
I'm fairly new to WSDL and SoapUI. I am trying to consume a WSDL, that has 2 operations in it. I am using SoapUI to mock a service for request/response. The first operation works very well, but I am having problems with implementing the 2nd operation. I think the problem could be with my soapAction which doesnt seem correct. Below is a snippet from the WSDL that shows the soapAction for both operations in the WSDL:

wsdl:binding name="PortTypeEndpoint1Binding" type="tns:PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetSubscriberInfo">
[b]soap:operation soapAction="/ES/Server/WS/intfGetSubscriberInfo-service.serviceagent/PortTypeEndpoint1/GetSubscriberInfo" style="document"/>[/b]<wsdl:input><soap:body parts="Part1" use="literal"/></wsdl:input>
<wsdl:output><soap:body parts="Part1" use="literal"/></wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSubscriberProductInfo">
[b]soap:operation soapAction="/ES/Server/WS/intfGetSubscriberInfo-service.serviceagent//GetSubscriberProductInfo" style="document"/>[/b]<wsdl:input><soap:body parts="part1" use="literal"/></wsdl:input>
<wsdl:output><soap:body parts="part1" use="literal"/></wsdl:output>
</wsdl:operation></wsdl:binding>
<wsdl:service name="intfGetSubscriberInfo-service">
<wsdl:port name="PortTypeEndpoint1" binding="tns:PortTypeEndpoint1Binding">
<soap:address location="http://127.0.0.1:8088/mockPortTypeEndpoint1Binding"/>
</wsdl:port>
</wsdl:service>


As you can see from the highlighted soapAction, one seem to be missing some part of the URL (portTypeEndpoint1). Could this be the reason why i am getting the error? If yes, how do i fix this (since soapUI dynamically creates the soapAction whenever the mock service is run).

The error stack doesnt say anything more explicit about the error.
Also, I didnt write the WSDL. I only consume it. if there is a problem in the WSDL, can someone tell me how to make the changes so I can inform the owner of WSDL to make the needed change.

Thanks so much in anticipation of your valuable help!
No RepliesBe the first to reply