I have both rpc-encoded and doc-lit clients working with the patch from Anthony, as far as I can tell. I haven't had time to do any more testing with our other services (I have a feeling I may run into problems with our security mechanisms).
Peter
Paul Fremantle wrote:
Peter Where are you up to?Paul ----- Original Message ----- From: "Peter G. Lane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 3:32 PM Subject: Re: about WSIFI think I just found the problem. One has to manually unwrap the input parameters if using wrapped messages with axis. Shouldn't this be done automatically? Peter Paul Fremantle wrote:Peter You better send the code you are using! Paul ----- Original Message ----- From: "Peter G. Lane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 1:42 PM Subject: Re: about WSIFI'm not sure how to use WSIF with stubs; but I would love to figure that out, now that you mention it. I'm just using WSIFOperation right now. Paul Fremantle wrote:Peter, Looking at the WSDLs and the SOAP messages it looks like there are two problems. The WSIF invocation isincorrectlymissing the value element, but the WSIF namespace is correct. So itlookslike we are half right each :-) How are you using WSIF? With a stub (WSDL2Java) or with a WSIFOperation call? Paul ----- Original Message ----- From: "Peter G. Lane" <[EMAIL PROTECTED]> To: "wsif-dev" <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 6:39 PM Subject: Re: about WSIFPaul Fremantle wrote:Peter Can you post the WSDL please? Paul ----- Original Message ----- From: "Peter G. Lane" <[EMAIL PROTECTED]> To: "Aleksander Slominski" <[EMAIL PROTECTED]> Cc: "Nirmal Mukhi" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 4:08 PM Subject: Re: about WSIFHi Alek, I missed that there were seperate email lists for wsif now--great!I'vesubscribed and will certainly start being active there. I've been talking to Anthony Elder after I subitted bug 16380 to bugzilla. He came up with a patch for me, but there still seem tobeproblems with interoperability between wsif and OGSA services. The following are two messages that are being sent to a sample counter service. The first is from our framework, and the other is fromWSIF.The WSIF-generated message causes a NullPointerException in Axis: [java] 841889 [Thread-4] INFO org.globus.ogsa.handlers.MessageLoggingHandler - SOAPEnvelope: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> [java] <soapenv:Body> [java] <add xmlns="http://samples.ogsa.globus.org/counter/counter_port_type"> [java] <value xsi:type="xsd:int" xmlns="">42</value> [java] </add> [java] </soapenv:Body> [java] </soapenv:Envelope> [java] 880737 [Thread-5] INFO org.globus.ogsa.handlers.MessageLoggingHandler - SOAPEnvelope: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> [java] <soapenv:Body> [java] <add xsi:type="xsd:int" xmlns="http://samples.ogsa.globus.org/counter">42</add> [java] </soapenv:Body> [java] </soapenv:Envelope> I don't claim to be anything close to a soap expert, so what may be going on here is a bit out of my realm of knowledge. Someobservations,though, are 1) there's a missing <value> tag set, and 2) the porttypenamespace is getting chopped for some reason. Anyway, that's thebasicscoop. Peter Aleksander Slominski wrote:hi Peter, i remember that you were interested in WSIF and heard from Nirmalthatyou actually try to use it and have problems. if possible pleasepostwhat you got to wsif-dev so we can all together to look on it andgetitresolved. thanks, alek-------------------------------------------------------------------------- ------<?xml version="1.0" encoding="UTF-8"?> <definitions name="CounterDefinition"targetNamespace="http://samples.ogsa.globus.org/counter/counter_port_type"xmlns:tns="http://samples.ogsa.globus.org/counter/counter_port_type"xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <types> <xsd:schematargetNamespace="http://samples.ogsa.globus.org/counter/counter_port_type"xmlns:tns="http://samples.ogsa.globus.org/counter/counter_port_type"xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:complexType name="ValueType"> <xsd:sequence> <xsd:element name="value" type="xsd:int"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="ReturnValueType"> <xsd:sequence> <xsd:element name="returnValue" type="xsd:int"/> </xsd:sequence> </xsd:complexType> <xsd:element name="add" type="tns:ValueType"/> <xsd:element name="addResponse" type="tns:ReturnValueType"/> <xsd:element name="subtract" type="tns:ValueType"/> <xsd:element name="subtractResponse" type="tns:ReturnValueType"/> <xsd:element name="getValue"> <xsd:complexType/> </xsd:element> <xsd:element name="getValueResponse" type="tns:ReturnValueType"/> </xsd:schema> </types> <message name="AddInputMessage"> <part name="parameters" element="tns:add"/> </message> <message name="AddOutputMessage"> <part name="parameters" element="tns:addResponse"/> </message> <message name="SubtractInputMessage"> <part name="parameters" element="tns:subtract"/> </message> <message name="SubtractOutputMessage"> <part name="parameters" element="tns:subtractResponse"/> </message> <message name="GetValueInputMessage"> <part name="parameters" element="tns:getValue"/> </message> <message name="GetValueOutputMessage"> <part name="parameters" element="tns:getValueResponse"/> </message> <portType name="CounterPortType"> <operation name="add"> <input message="tns:AddInputMessage"/> <output message="tns:AddOutputMessage"/> </operation> <operation name="subtract"> <input message="tns:SubtractInputMessage"/> <output message="tns:SubtractOutputMessage"/> </operation> <operation name="getValue"> <input message="tns:GetValueInputMessage"/> <output message="tns:GetValueOutputMessage"/> </operation> </portType> </definitions>-------------------------------------------------------------------------- ------<?xml version="1.0" encoding="UTF-8"?> <definitions name="CounterDefinition"targetNamespace="http://samples.ogsa.globus.org/counter/counter_bindings" xmlns:counter-port-type="http://samples.ogsa.globus.org/counter/counter_port_type"xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> <import location="../../samples/counter/counter_port_type.wsdl"namespace="http://samples.ogsa.globus.org/counter/counter_port_type"/><binding name="CounterSOAPBinding"type="counter-port-type:CounterPortType"><soap:binding style="document"transport="http://schemas.xmlsoap.org/soap/http"/><operation name="add"> <soap:operationsoapAction="http://samples.ogsa.globus.org/counter#add"/><input> <soap:body use="literal"namespace="http://samples.ogsa.globus.org/counter"/></input> <output> <soap:body use="literal"namespace="http://samples.ogsa.globus.org/counter"/></output> </operation> <operation name="subtract"> <soap:operationsoapAction="http://samples.ogsa.globus.org/counter#subtract"/><input> <soap:body use="literal"namespace="http://samples.ogsa.globus.org/counter"/></input> <output> <soap:body use="literal"namespace="http://samples.ogsa.globus.org/counter"/></output> </operation> <operation name="getValue"> <soap:operationsoapAction="http://samples.ogsa.globus.org/counter#getValue"/><input> <soap:body use="literal"namespace="http://samples.ogsa.globus.org/counter"/></input> <output> <soap:body use="literal"namespace="http://samples.ogsa.globus.org/counter"/></output> </operation> </binding> </definitions>-------------------------------------------------------------------------- ------<?xml version="1.0" encoding="UTF-8"?> <definitions name="CounterDefinition" targetNamespace="http://samples.ogsa.globus.org/counter" xmlns="http://schemas.xmlsoap.org/wsdl/"xmlns:counter-bindings="http://samples.ogsa.globus.org/counter/counter_bindings"xmlns:grid-service-bindings="http://ogsa.gridforum.org/service/grid_service_bindings"xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> <import location="../../samples/counter/counter_bindings.wsdl"namespace="http://samples.ogsa.globus.org/counter/counter_bindings"/><import location="../../core/service/grid_service_bindings.wsdl"namespace="http://ogsa.gridforum.org/service/grid_service_bindings"/><service name="CounterService"> <documentation>sample counter service demonstrating simple statemanagement</documentation><port binding="counter-bindings:CounterSOAPBinding" name="CounterPort"> <soap:address location="http://localhost:8080/ogsa/services"/> </port> <port binding="grid-service-bindings:GridServiceSOAPBinding" name="GridServicePort"> <soap:address location="http://localhost:8080/ogsa/services"/> </port> </service> </definitions>
