Page 1 of 1

Binding Name

Posted: Sun Oct 26, 2014 6:19 pm
by jaderss
I think that the question has an error. The port name derives from portType, end the binding derives from serviceName. Therefore, the correct wsdl is:

<wsdl:portType name="LogService">
<wsdl:operation name="log">
<wsdl:input message="tns:log" name="log"></wsdl:input>
<wsdl:output message="tns:logResponse" name="logResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="LogWebServiceSoapBinding" type="tns:LogService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="log">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="log">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="logResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="LogWebService">
<wsdl:port binding="tns:LogWebServiceSoapBinding" name="LogServicePort">
<soap:address location="http://localhost:8080/ocejwsd/LogWebService"/>
</wsdl:port>
</wsdl:service>

Re: Binding Name

Posted: Mon Oct 27, 2014 12:29 am
by fjwalraven
Could you please tell me the question number?

Regards,
Frits

Re: Binding Name

Posted: Mon Oct 27, 2014 1:00 pm
by jaderss
Yes,

id=enthuware.ocejws.v6.2.27

It's the second question in test 5.

Sorry for the post in the wrong place.

Re: Binding Name

Posted: Mon Oct 27, 2014 3:25 pm
by fjwalraven
No problem, I already thought that it might be that one.

You are right the binding name is not correct. It should be based on the port name: LogServicePortBinding. Although not relevant to the question it should be correct.

I have corrected all options likewise. Thanks again for your feedback!

Regards,
Frits