Hi,

I've tested it changing all references of
http://schemas.xmlsoap.org/ws/2004/03/addressing to
http://schemas.xmlsoap.org/ws/2004/04/addressing in
order to generate the soap message, however I follow
having the same problem, the ACTION element is
required and i it is not generated in the code.

I've seen that wsrf 1.1 works with axis 1.2.1
internally but I need use axis 1.3 when I sent the
message soap to the wsrf service. For that reason the
message SOAP is not generated properly, since it is
included ws-addressing v2004/08, however if I use axis
1.2.1 the message SOAP is generated ok (ws-addressing
v2004/03), but, I repeat, i need use axis 1.3...

someone knows if wsrf 1.1 works properly with
ws-addressing v2004/08? someone has tested it?

Thanks in advance,
Ruben
 --- Sal Campana <[EMAIL PROTECTED]> escribió:

> Ruben DF wrote:
> 
> >thanks for answer to the question, sal campana.
> >
> >I changed the version of addressing to 2004/08 but
> I
> >have the same error. Do I only have to change this
> >line
> >http://schemas.xmlsoap.org/ws/2004/03/addressing by
> >this other
> >http://schemas.xmlsoap.org/ws/2004/08/addressing
> into
> >the previous code,haven't I? Do I need some file
> >additional or something more?
> >
> >Thanks
> >
> >Note: With axis version 1.2.1 works properly (since
> it
> >will use 2004/03 addressing version) but I need
> axis
> >1.3.
> >
> > --- Sal Campana <[EMAIL PROTECTED]> escribió:
> >
> >  
> >
> >>Ruben DF wrote:
> >>
> >>    
> >>
> >>>Hi, 
> >>>
> >>>I have a wsrf service called "servicewsrf" and a
> >>>      
> >>>
> >>axis
> >>    
> >>
> >>>service called "serviceintermediate" which sends
> a
> >>>message SOAP to servicewsrf in order to modify
> the
> >>>value of a resource property. Two services are in
> >>>      
> >>>
> >>the
> >>    
> >>
> >>>same computer
> >>>
> >>>Well, when I create the message soap in
> >>>serviceintermediate and I send to servicewsrf, I
> >>>      
> >>>
> >>get
> >>    
> >>
> >>>this error from server (Seen from tcpmon):
> >>>
> >>>HTTP/1.1 500 Error Interno del Servidor
> >>>Server: Apache-Coyote/1.1
> >>>Content-Type: text/xml;charset=utf-8
> >>>Date: Tue, 30 May 2006 17:30:25 GMT
> >>>Connection: close
> >>>
> >>><?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>A WS-Addressing Action SOAP header
> >>>element is required by this
> endpoint.</faultstring>
> >>>  <detail/>
> >>> </soapenv:Fault>
> >>></soapenv:Body>
> >>></soapenv:Envelope>
> >>>
> >>>The soap message that I send is this:
> >>>
> >>><?xml version="1.0" encoding="UTF-8"?>
> >>><soapenv:Envelope
> >>>      
> >>>
>
>>xmlns:fs="http://ws.apache.org/resource/serviciowsrf";
> >>
> >>    
> >>
> >>>       
> >>>      
> >>>
>
>>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://schemas.xmlsoap.org/ws/2004/08/addressing";>
> >>    
> >>
> >>>        
> >>>      <soapenv:Header>
> >>>      <fs:ResourceIdentifier
> >>>      
> >>>
>
>>soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> >>    
> >>
> >>>      soapenv:mustUnderstand="0"
> >>>      
> >>>
>
>>xmlns:fs="http://ws.apache.org/resource/serviciowsrf";>recurso</fs:ResourceIdentifier>
> >>    
> >>
> >>>      <wsa:MessageID
> >>>      
> >>>
>
>>soapenv:mustUnderstand="0">uuid:9468d600-ef33-11da-87a8-a285d7b5ba51</wsa:MessageID>
> >>    
> >>
> >>>      <wsa:To
> >>>      
> >>>
>
>>soapenv:mustUnderstand="0">http://localhost:8070/wsrf/services/serviciowsrf</wsa:To>
> >>    
> >>
> >>>      
> >>>      
> >>>      <wsa:From
> >>>      
> >>>
>
>>soapenv:mustUnderstand="0"><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:From>
> >>    
> >>
> >>>     
> >>>      </soapenv:Header>
> >>>      
> >>>      <soapenv:Body>
> >>>      <wsrp:SetResourceProperties
> >>>      
> >>>
>
>>xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd";>
> >>    
> >>
> >>>      <wsrp:Update>
> >>>      <fs:Nombre
> >>>      
> >>>
>
>>xmlns:fs="http://ws.apache.org/resource/serviciowsrf";>Pepote</fs:Nombre>
> >>    
> >>
> >>>      </wsrp:Update>
> >>>      </wsrp:SetResourceProperties>
> >>>      </soapenv:Body>
> >>></soapenv:Envelope>
> >>>
> >>>In effet, there is not ACTION element BUT I dont
> >>>understand it because when I create the soap
> >>>      
> >>>
> >>message I
> >>    
> >>
> >>>include this element (ACTION) in the message. My
> >>>      
> >>>
> >>code
> >>    
> >>
> >>>for generate the message soap is:
> >>>
> >>>Name prop = null;
> >>>           
> >>>           SOAPElement update_element = null;
> >>>           SOAPElement prop_element = null;
> >>>           SOAPElement element = null;
> >>>           
> 
=== message truncated ===



                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to