No, I mean, where in the xml schema is it defined?
-Tom

On Thu, Feb 26, 2009 at 10:05 AM, Kleopatra Konstanteli <
[email protected]> wrote:

> I added it in the JNDI file following an example factory service. Here is
> the WSDD and the JNDI.
>
> Thanks again,
> Kleopatra
>
> Tom Howe wrote:
>
>> Perhaps I'm missing something, but where is:
>> ApplicationServiceComponentResourceKey
>>
>> defined?
>>
>> -Tom
>> On Thu, Feb 26, 2009 at 9:32 AM, Kleopatra Konstanteli <
>> [email protected] <mailto:[email protected]>> wrote:
>>
>>    Hi Tom,
>>
>>    Please find attached the WSDL both for the factory and the instance.
>>
>>    Best regards,
>>    Kleopatra
>>
>>    Tom Howe wrote:
>>
>>        Sorry,
>>        Can you also send the WSDL?
>>
>>        Thanks,
>>        Tom
>>
>>        On Thu, Feb 26, 2009 at 9:17 AM, Kleopatra Konstanteli
>>        <[email protected] <mailto:[email protected]>
>>        <mailto:[email protected]
>>        <mailto:[email protected]>>> wrote:
>>
>>           Hello Tom,
>>
>>           Here is the SOAP request:
>>
>>           SOAPEnvelope: <?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";
>>                 xmlns:wsa="http://www.w3.org/2005/08/addressing
>> "><soapenv:Header><wsa:MessageID>uuid:c0c41b50-0417-11de-9f72-87a92f1dd4a1</wsa:MessageID><wsa:To>
>> http://localhost:8080/wsrf/services/factory/ApplicationServiceComponent
>> </wsa:To><wsa:Action>
>> http://www.ntua.gr/namespaces/ApplicationServiceComponentService/ApplicationServiceComponentPortType/startRequest
>> </wsa:Action><From
>>                 xmlns="http://www.w3.org/2005/08/addressing";><Address>
>> http://www.w3.org/2005/08/addressing/anonymous
>> </Address></From><ns1:ApplicationServiceComponentResourceKey
>>           wsa:IsReferenceParameter="true"
>>                 xmlns:ns1="
>> http://www.ntua.gr/namespaces/ApplicationServiceComponentService
>> ">a3916fb0-0417-11de-9be0-b1bb8759f20c</ns1:ApplicationServiceComponentResourceKey></soapenv:Header><soapenv:Body><start
>>                 xmlns="
>> http://www.ntua.gr/namespaces/ApplicationServiceComponentService
>> "><simpleTypeInputA
>>           xmlns="">simpleTypeInputA</simpleTypeInputA><simpleTypeInputB
>>           xmlns="">1</simpleTypeInputB><complexTypeInput><name
>>           xmlns="">name</name><value
>>
>> xmlns="">10</value></complexTypeInput></start></soapenv:Body></soapenv:Envelope>
>>
>>           and the corresponding exception:
>>
>>           SOAPEnvelope: <?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><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>java.rmi.RemoteException:
>>           ; nested exception is:
>>
>>                 org.globus.wsrf.ResourceContextException: ; nested
>>        exception is:
>>                 org.globus.wsrf.InvalidResourceKeyException: ; nested
>>           exception is:
>>                 org.globus.wsrf.encoding.DeserializationException:
>>           [JWSCORE-178] Deserialization failed [Caused by: For input
>>        string:
>>
>> &quot;a3916fb0-0417-11de-9be0-b1bb8759f20c&quot;]</faultstring><detail><ns1:stackTrace
>>                 xmlns:ns1="http://xml.apache.org/axis/
>> ">java.rmi.RemoteException:
>>           ; nested exception is:
>>
>>                 org.globus.wsrf.ResourceContextException: ; nested
>>        exception is:
>>                 org.globus.wsrf.InvalidResourceKeyException: ; nested
>>           exception is:
>>                 org.globus.wsrf.encoding.DeserializationException:
>>           [JWSCORE-178] Deserialization failed [Caused by: For input
>>        string:
>>           &quot;a3916fb0-0417-11de-9be0-b1bb8759f20c&quot;]
>>                 at
>>
>> ntua.irmos.wp4.services.factory.impl.ApplicationServiceComponentService.getResource(ApplicationServiceComponentService.java:25)
>>
>>           Many thanks in advance,
>>           Kleopatra
>>
>>
>>           Tom Howe wrote:
>>
>>               Can you send the SOAP request that is sent to the
>>        server and
>>               produces this, please.
>>
>>               -Tom
>>
>>               On Thu, Feb 26, 2009 at 7:56 AM, Kleopatra Konstanteli
>>               <[email protected] <mailto:[email protected]>
>>        <mailto:[email protected] <mailto:[email protected]>>
>>               <mailto:[email protected]
>>        <mailto:[email protected]>
>>               <mailto:[email protected]
>>        <mailto:[email protected]>>>> wrote:
>>
>>                  Hello All,
>>
>>
>>                      I  have created a service that follows the factory
>>               pattern on
>>                      GT4.2. The instance resources are created
>>        correctly but
>>               when I
>>                      try to invoke an operation on them I get the
>>        following
>>               error:
>>
>>                      AxisFault
>>                      faultCode:
>>                                  {
>> http://schemas.xmlsoap.org/soap/envelope/}Server.userException<http://schemas.xmlsoap.org/soap/envelope/%7DServer.userException>
>>        <http://schemas.xmlsoap.org/soap/envelope/%7DServer.userException>
>>                     <
>> http://schemas.xmlsoap.org/soap/envelope/%7DServer.userException>
>>                                  <
>> http://schemas.xmlsoap.org/soap/envelope/%7DServer.userException>
>>
>>
>>                      faultSubcode:
>>                      faultString: java.rmi.RemoteException: ; nested
>>               exception is:
>>                            org.globus.wsrf.ResourceContextException:
>>        ; nested
>>                      exception is:
>>
>>  org.globus.wsrf.InvalidResourceKeyException: ; nested
>>                      exception is:
>>
>>  org.globus.wsrf.encoding.DeserializationException:
>>                      [JWSCORE-178] Deserialization failed [Caused by:
>>        For input
>>                      string:
>>        &quot;c2bc77d0-ff54-11dd-822e-c429a7360031&quot;]
>>
>>                      I don't remember ever having this error in
>>        GT4.0. Can
>>               someone
>>                      please help me?
>>
>>                      Thank you in advance,
>>                      Kleopatra
>>
>>
>>
>>
>>               --        Tom Howe
>>               Senior Software Engineer
>>               Distributed Systems Lab
>>               University of Chicago/Argonne National Laboratory
>>               Sent from: Chicago Illinois United States.
>>
>>
>>
>>
>>        --        Tom Howe
>>        Senior Software Engineer
>>        Distributed Systems Lab
>>        University of Chicago/Argonne National Laboratory
>>        Sent from: Chicago Illinois United States.
>>
>>
>>
>>
>> --
>> Tom Howe
>> Senior Software Engineer
>> Distributed Systems Lab
>> University of Chicago/Argonne National Laboratory
>> Sent from: Chicago Illinois United States.
>>
>


-- 
Tom Howe
Senior Software Engineer
Distributed Systems Lab
University of Chicago/Argonne National Laboratory
Sent from: Chicago Illinois United States.

Reply via email to