ws-wsif-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle" <...@hursley.ibm.com>
Subject Re: about WSIF
Date Fri, 07 Feb 2003 14:31:04 GMT
Peter

You better send the code you are using!

Paul


----- Original Message -----
From: "Peter G. Lane" <lane@mcs.anl.gov>
To: <wsif-dev@ws.apache.org>
Sent: Friday, February 07, 2003 1:42 PM
Subject: Re: about WSIF


> I'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 is incorrectly
> > missing the value element, but the WSIF namespace is correct. So it
looks
> > like 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" <lane@mcs.anl.gov>
> > To: "wsif-dev" <wsif-dev@ws.apache.org>
> > Sent: Thursday, February 06, 2003 6:39 PM
> > Subject: Re: about WSIF
> >
> >
> >
> >>Paul Fremantle wrote:
> >> > Peter
> >> >
> >> > Can you post the WSDL please?
> >> >
> >> > Paul
> >> >
> >> > ----- Original Message -----
> >> > From: "Peter G. Lane" <lane@mcs.anl.gov>
> >> > To: "Aleksander Slominski" <aslom@cs.indiana.edu>
> >> > Cc: "Nirmal Mukhi" <nmukhi@us.ibm.com>; <wsif-dev@ws.apache.org>
> >> > Sent: Thursday, February 06, 2003 4:08 PM
> >> > Subject: Re: about WSIF
> >> >
> >> >
> >> >
> >> >>Hi Alek,
> >> >>
> >> >>I missed that there were seperate email lists for wsif now--great!
> >
> > I've
> >
> >> >>subscribed 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 to be
> >> >>problems 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 from
WSIF.
> >> >>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.  Some
> >
> > observations,
> >
> >> >>though, are 1) there's a missing <value> tag set, and 2) the port
type
> >> >>namespace is getting chopped for some reason.  Anyway, that's the
basic
> >> >>scoop.
> >> >>
> >> >>Peter
> >> >>
> >> >>
> >> >>
> >> >>Aleksander Slominski wrote:
> >> >>
> >> >>>hi Peter,
> >> >>>
> >> >>>i remember that you were interested in WSIF and heard from Nirmal
that
> >> >>>you actually try to use it and have problems. if possible please
post
> >> >>>what you got to wsif-dev so we can all together to look on it and
get
> >
> > it
> >
> >> >>>resolved.
> >> >>>
> >> >>>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:schema
> >
> >
targetNamespace="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:operation
> >
> > soapAction="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:operation
> >
> > soapAction="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:operation
> >
> > soapAction="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_bindi
> > ngs"
> >
> >
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 state
> >
> > management</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>
> >>
> >>
> >
>
>
>


Mime
View raw message