You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-user@ws.apache.org by Asaf Lahav <as...@primagrid.com> on 2006/05/24 20:42:13 UTC

Invocation problem

Hi all,

 

I have a WSRF (MUSE) service that I use as a factory service.

I used factory service to create a resource instance with a resource id:
70631E86-0A9C-4CF0-0DD1-9FCE1B81560B.

 

However,

When I attempt to invoke the created service resource operation with the
following SOAP message:

----------------------------------------------------------------------------
---

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">

  <Header>

    <add:To
xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhos
t:8080/muse/services/PO</add:To>

    <add:Action
xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://www.prim
agrid.com/services/three/po/POPortType/SubmitPurchaseOrder</add:Action>

    <fs:ResourceIdentifier mustUnderstand="1"
xmlns:fs="http://www.primagrid.com/services/three/po">70631E86-0A9C-4CF0-0DD
1-9FCE1B81560B</fs:ResourceIdentifier>

  </Header>

  <Body>

    <SubmitPurchaseOrder xmlns="http://www.primagrid.com/services/three/po">

      <argy>hello world - y</argy>

      <poNumber>5</poNumber>

      <argx>3</argx>

    </SubmitPurchaseOrder>

  </Body>

</Envelope>

----------------------------------------------------------------------------
---

 

 

I get the following response (Error):

----------------------------------------------------------------------------
---

<?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:Client</faultcode>

   <faultstring>Resource Id 70631E86-0A9C-4CF0-0DD1-9FCE1B81560B not found
for service PO</faultstring>

   <detail>

    <ns1:ResourceUnknownFault
xmlns:ns1="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourcePropertie
s-1.2-draft-01.xsd">

     <ns2:Timestamp
xmlns:ns2="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-dr
aft-01.xsd">2006-05-24T21:13:22.853+03:00</ns2:Timestamp>

     <ns3:Description
xmlns:ns3="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-dr
aft-01.xsd">Resource Id 70631E86-0A9C-4CF0-0DD1-9FCE1B81560B not found for
service PO</ns3:Description>

    </ns1:ResourceUnknownFault>

   </detail>

  </soapenv:Fault>

 </soapenv:Body>

</soapenv:Envelope>

----------------------------------------------------------------------------
---

 

Does anyone have a clue what could be the reason?

Is there anything wrong with the SOAP message?

 

Thanks in advance,

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254



 


Re: Invocation problem

Posted by Kinga Dziembowski <kd...@gmail.com>.
Check your resource Id tag name - you are using ResourceIdentifier - check
what is the defined name of the element in is in xx-jndi-config.xml file
located with your other service files

look for <parameter>
               <name>resourceIdentifierReferenceParameterName</name>
               <value> here should be namespace and name of the element
</value>
            </parameter>

Kinga


On 5/24/06, Asaf Lahav <as...@primagrid.com> wrote:
>
>   Hey guys…
>
> Get an abort on that J
>
>
>
> I had a bug…
>
> Thanks allot anyway
>
>
>
> *Asaf Lahav*
>
> *VP R&D, Prima Grid LTD.*
>
> Cellular:  972-54-4717955
>
> Phone:   972-3-6540255
>
> Fax:       972-3-6540254
>
>   ------------------------------
>
> *From:* Asaf Lahav [mailto:asaf.lahav@primagrid.com]
> *Sent:* Wednesday, May 24, 2006 8:42 PM
> *To:* wsrf-user@ws.apache.org
> *Subject:* Invocation problem
> *Importance:* High
>
>
>
> Hi all,
>
>
>
> I have a WSRF (MUSE) service that I use as a factory service.
>
> I used factory service to create a resource instance with a resource id:
> 70631E86-0A9C-4CF0-0DD1-9FCE1B81560B.
>
>
>
> However,
>
> When I attempt to invoke the created service resource operation with the
> following SOAP message:
>
>
> -------------------------------------------------------------------------------
>
> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
>
>   <Header>
>
>     <add:To xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">
> http://localhost:8080/muse/services/PO</add:To>
>
>     <add:Action xmlns:add="
> http://schemas.xmlsoap.org/ws/2004/08/addressing">
> http://www.primagrid.com/services/three/po/POPortType/SubmitPurchaseOrder
> </add:Action>
>
>     <fs:ResourceIdentifier mustUnderstand="1" xmlns:fs="
> http://www.primagrid.com/services/three/po
> ">70631E86-0A9C-4CF0-0DD1-9FCE1B81560B</fs:ResourceIdentifier>
>
>   </Header>
>
>   <Body>
>
>     <SubmitPurchaseOrder xmlns="http://www.primagrid.com/services/three/po
> ">
>
>       <argy>hello world - y</argy>
>
>       <poNumber>5</poNumber>
>
>       <argx>3</argx>
>
>     </SubmitPurchaseOrder>
>
>   </Body>
>
> </Envelope>
>
>
> -------------------------------------------------------------------------------
>
>
>
>
>
> I get the following response (Error):
>
>
> -------------------------------------------------------------------------------
>
> <?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:Client</faultcode>
>
>    <faultstring>Resource Id 70631E86-0A9C-4CF0-0DD1-9FCE1B81560B not found
> for service PO</faultstring>
>
>    <detail>
>
>     <ns1:ResourceUnknownFault xmlns:ns1="
> http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd
> ">
>
>      <ns2:Timestamp xmlns:ns2="
> http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd
> ">2006-05-24T21:13:22.853+03:00</ns2:Timestamp>
>
>      <ns3:Description xmlns:ns3="
> http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd">Resource
> Id 70631E86-0A9C-4CF0-0DD1-9FCE1B81560B not found for service
> PO</ns3:Description>
>
>     </ns1:ResourceUnknownFault>
>
>    </detail>
>
>   </soapenv:Fault>
>
>  </soapenv:Body>
>
> </soapenv:Envelope>
>
>
> -------------------------------------------------------------------------------
>
>
>
> Does anyone have a clue what could be the reason?
>
> Is there anything wrong with the SOAP message?
>
>
>
> Thanks in advance,
>
>
>
> *Asaf Lahav*
>
> *VP R&D, Prima Grid LTD.*
>
> Cellular:  972-54-4717955
>
> Phone:   972-3-6540255
>
> Fax:       972-3-6540254
>
>
>

RE: Invocation problem

Posted by Asaf Lahav <as...@primagrid.com>.
Hey guys.

Get an abort on that :-)

 

I had a bug.

Thanks allot anyway

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254



  _____  

From: Asaf Lahav [mailto:asaf.lahav@primagrid.com] 
Sent: Wednesday, May 24, 2006 8:42 PM
To: wsrf-user@ws.apache.org
Subject: Invocation problem
Importance: High

 

Hi all,

 

I have a WSRF (MUSE) service that I use as a factory service.

I used factory service to create a resource instance with a resource id:
70631E86-0A9C-4CF0-0DD1-9FCE1B81560B.

 

However,

When I attempt to invoke the created service resource operation with the
following SOAP message:

----------------------------------------------------------------------------
---

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">

  <Header>

    <add:To
xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhos
t:8080/muse/services/PO</add:To>

    <add:Action
xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://www.prim
agrid.com/services/three/po/POPortType/SubmitPurchaseOrder</add:Action>

    <fs:ResourceIdentifier mustUnderstand="1"
xmlns:fs="http://www.primagrid.com/services/three/po">70631E86-0A9C-4CF0-0DD
1-9FCE1B81560B</fs:ResourceIdentifier>

  </Header>

  <Body>

    <SubmitPurchaseOrder xmlns="http://www.primagrid.com/services/three/po">

      <argy>hello world - y</argy>

      <poNumber>5</poNumber>

      <argx>3</argx>

    </SubmitPurchaseOrder>

  </Body>

</Envelope>

----------------------------------------------------------------------------
---

 

 

I get the following response (Error):

----------------------------------------------------------------------------
---

<?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:Client</faultcode>

   <faultstring>Resource Id 70631E86-0A9C-4CF0-0DD1-9FCE1B81560B not found
for service PO</faultstring>

   <detail>

    <ns1:ResourceUnknownFault
xmlns:ns1="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourcePropertie
s-1.2-draft-01.xsd">

     <ns2:Timestamp
xmlns:ns2="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-dr
aft-01.xsd">2006-05-24T21:13:22.853+03:00</ns2:Timestamp>

     <ns3:Description
xmlns:ns3="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-dr
aft-01.xsd">Resource Id 70631E86-0A9C-4CF0-0DD1-9FCE1B81560B not found for
service PO</ns3:Description>

    </ns1:ResourceUnknownFault>

   </detail>

  </soapenv:Fault>

 </soapenv:Body>

</soapenv:Envelope>

----------------------------------------------------------------------------
---

 

Does anyone have a clue what could be the reason?

Is there anything wrong with the SOAP message?

 

Thanks in advance,

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254