Jump to content

RemG

Members
  • Posts

    2
  • Joined

  • Last visited

RemG's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. A différent question, with the essential problem <wsdl:service name="Lighting"> <wsdl:port name="SwitchPower" binding="tns:SwitchPower"> <soap:address location="http://localhost:8080/Lighting/SwitchPower/" /> </wsdl:port> <wsdl:port name="Dimming" binding="tns:Dimming"> <soap:address location="http://localhost:8080/Lighting/Dimming/" /> </wsdl:port> </wsdl:service> Is it right ?If no what is the rules or the specification? Thx Regards Remi
  2. I want use a WSDL file who wrote.With two porttypes <wsdl:portType name="ContentDirectory"> <wsdl:operation name="GetSortCapabilities"> <wsdl:input message="tns:GetSortCapabilitiesRequest" /> <wsdl:output message="tns:GetSortCapabilitiesResponse" /> </wsdl:operation> <wsdl:operation name="GetSystemUpdateID"> <wsdl:input message="tns:NOTHING_INPUT" /> <wsdl:output message="tns:GetSystemUpdateIDResponse" /> </wsdl:operation> </wsdl:portType> <wsdl:portType name="ConnectionManager"> <wsdl:operation name="GetCurrentConnectionIDs"> <wsdl:input message= "tns:NOTHING_INPUT" /> <wsdl:output message="tns:GetCurrentConnectionIDsResponse" /> </wsdl:operation> <wsdl:operation name="GetProtocolInfo"> <wsdl:input message="tns:NOTHING_INPUT" /> <wsdl:output message="tns:GetProtocolInfoResponse" /> </wsdl:operation> </wsdl:portType> And two binding <wsdl:binding name="ContentDirectory" type="tns:ContentDirectory"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="Browse"> <soap:operation soapAction="http://www.forge.soa4d.org/DPWS/Samples/MediaRenderer/Browse/" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> <wsdl:operation name="GetSystemUpdateID"> <soap:operation soapAction="http://www.forge.soa4d.org/DPWS/Samples/MediaRenderer/GetSystemUpdateID/" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="ConnectionManager" type="tns:ConnectionManager"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="GetCurrentConnectionIDs"> <soap:operation soapAction="http://www.forge.soa4d.org/DPWS/Samples/MediaRenderer/GetCurrentConnectionIDs/" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> <wsdl:operation name="GetProtocolInfo"> <soap:operation soapAction="http://www.forge.soa4d.org/DPWS/Samples/MediaRenderer/GetProtocolInfo/" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> And service with two ports <wsdl:service name="Media"> <wsdl:port name="ContentDirectory" binding="tns:ContentDirectory"> <soap:address location="http://localhost:8080/MediaServer/TESTWSDL" /> </wsdl:port> <wsdl:port name="ConnectionManager" binding="tns:ConnectionManager"> <soap:address location="http://localhost:8080/MediaServer/TESTWSDL" /> </wsdl:port> </wsdl:service> When i use this device this only one port my client WSDLreader read my WSDL. Ben i use this, with both port i have an error. (same with a different location) I didn't find in W3 WSDL spec a problem with that. What is the solution? Regards Rem
×
×
  • Create New...