[BYTEIO-WG] Genesis II endpoint and Fujitsu

Mark Morgan mmm2a at virginia.edu
Thu Jul 26 11:52:05 CDT 2007


Two pieces of news:

1)  I just brought up new endpoints that SHOULD correctly parse the
IsReferenceParameters="1" attributes.  Sorry for the mistake there -- I
hand implemented our WS-Addressing code and neglected to deal with that
particular form of xsd:boolean when I did.

2)  I have re-run the RByteIO tests for Genesis II client against
Fujitsu Services and they all work once again!

-Mark

On Thu, 2007-07-26 at 16:48 +0100, Michel Drescher wrote:
> *g*
> 
> Just looked it up, too. :)
> 
> Have a good lunch, and see you afterwards!
> 
> Cheers,
> Michel
> 
> Mark Morgan wrote:
> > Nevermind Michel, I just looked it up and 1 and true are both valid
> > representations of xsd:boolean.  I'll make the change after lunch here
> > and bring up a new endpoint.
> > 
> > -Mark
> > 
> > On Thu, 2007-07-26 at 16:25 +0100, Michel Drescher wrote:
> >> Hi Karolina, Mark,
> >>
> >> I successfully created a resource using your new interop factory.
> >>
> >> I tested today at 15:15:58 GMT, for your search in server logs.
> >>
> >> I then tried to test GetResourceProperty, and got a message back that made
> >> my JAX-WS choke on it with this exception:
> >> ---------- SNIP ---------- SNIP ---------- SNIP ---------- SNIP ----------
> >> Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: A required
> >> header representing a Message Addressing Property is not present
> >> 	at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:171)
> >> 	at
> >> com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:94)
> >> 	at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:174)
> >> 	at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:193)
> >> 	at
> >> com.fujitsu.ogf.byteio.interop.client.RandomByteIOInteropServiceClient.testGetResourceProperty(RandomByteIOInteropServiceClient.java:194)
> >> 	at
> >> com.fujitsu.ogf.byteio.interop.client.RandomByteIOInteropServiceClient.run(RandomByteIOInteropServiceClient.java:153)
> >> 	at
> >> com.fujitsu.ogf.byteio.interop.client.RandomByteIOInteropServiceClient.main(RandomByteIOInteropServiceClient.java:65)
> >> ---------- SNIP ---------- SNIP ---------- SNIP ---------- SNIP ----------
> >>
> >> My message I send is this:
> >> ---------- SNIP ---------- SNIP ---------- SNIP ---------- SNIP ----------
> >> SOAPAction:
> >> "http://schemas.ggf.org/byteio/2005/10/random-access/RandomByteIOInteropPortType/GetResourcePropertyRequest"
> >> Content-Type: text/xml; charset=utf-8
> >> Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *;
> >> q=.2, */*; q=.2
> >> <?xml version="1.0" ?><S:Envelope
> >> xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><To
> >> xmlns="http://www.w3.org/2005/08/addressing">http://128.143.69.64:18080/axis/services/RandomByteIOInteropPortType</To><Action
> >> xmlns="http://www.w3.org/2005/08/addressing">http://schemas.ggf.org/byteio/2005/10/random-access/RandomByteIOInteropPortType/GetResourcePropertyRequest</Action><ReplyTo
> >> xmlns="http://www.w3.org/2005/08/addressing">
> >>     <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
> >> </ReplyTo><MessageID
> >> xmlns="http://www.w3.org/2005/08/addressing">uuid:40312cbd-4d17-4bff-9dee-272503ba03b3</MessageID><ns2:simple-string
> >> xmlns:ns2="http://vcgr.cs.virginia.edu/Genesis-II"
> >> xmlns:wsa="http://www.w3.org/2005/08/addressing"
> >> wsa:IsReferenceParameter="1"
> >> xmlns="http://schemas.ggf.org/byteio/2006/07/interop"
> >> xmlns:ns1="http://www.w3.org/2005/08/addressing">E3C83D3B-1612-43F2-154A-40CC0C64123F</ns2:simple-string></S:Header><S:Body><ns6:GetResourceProperty
> >> xmlns:ns2="http://www.w3.org/2005/08/addressing"
> >> xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2"
> >> xmlns:ns4="http://schemas.ggf.org/byteio/2005/10/byte-io"
> >> xmlns:ns5="http://schemas.ggf.org/byteio/2005/10/random-access"
> >> xmlns:ns6="http://docs.oasis-open.org/wsrf/rp-2"
> >> xmlns:ns7="http://docs.oasis-open.org/wsrf/rl-2"
> >> xmlns:ns8="http://docs.oasis-open.org/wsrf/r-2">ns5:Size</ns6:GetResourceProperty></S:Body></S:Envelope>
> >> ---------- SNIP ---------- SNIP ---------- SNIP ---------- SNIP ----------
> >>
> >> and your response message is this:
> >> ---------- SNIP ---------- SNIP ---------- SNIP ---------- SNIP ----------
> >> Date: Thu, 26 Jul 2007 15:15:58 GMT
> >> Content-type: text/xml; charset=utf-8
> >> Transfer-encoding: chunked
> >> Server: Jetty/5.1.11RC0 (Linux/2.6.20-1.2933.fc6 i386 java/1.5.0_10
> >> null: HTTP/1.1 200 OK
> >> <?xml version="1.0" encoding="utf-8"?><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"><soapenv:Body><GetResourcePropertyResponse
> >> xmlns="http://docs.oasis-open.org/wsrf/rp-2"><ns1:Size
> >> xmlns:ns1="http://schemas.ggf.org/byteio/2005/10/random-access">0</ns1:Size></GetResourcePropertyResponse></soapenv:Body></soapenv:Envelope>
> >> ---------- SNIP ---------- SNIP ---------- SNIP ---------- SNIP ----------
> >>
> >> I think the complete WS-Addressing headers are missing? In fact, the
> >> complete soap:Header section is missing.
> >>
> >> I tested the RandomByteIO operations, and the responses miss the SOAP header
> >> section, too.
> >>
> >> Cheers,
> >> Michel
> >>
> > 
> > 
> 
> 



More information about the byteio-wg mailing list