hi antonio,
no, the first thing is to understand why your request doesn't work, see
http://lists.w3.org/Archives/Public/www-forms/2005Oct/0062.html (and
responses) for explanation. for a discussion of server errors when using
SOAP, see
http://lists.w3.org/Archives/Public/www-forms/2005Oct/0084.html (and
responses). please don't blame Chiba for your mistakes.
once again: the Chiba HTTP connectors don't set any special HTTP headers
which might be needed for a SOAP call to function (and will probably
never do). thus, the best way would be to implement SOAP connectors.
regards,
uli.
Antonio De Simone wrote:
Hi Nicolas,
the first problem is to understand why chiba doesn't work! I'm simply making an
http request to a web service! It's strange!
In my case I can invoke a WS method that doesn't need parameters passed to...it
seems to respond fine. When I try to make a request to a WS method with
parameters, I obtain an Internal Server Error (HTTP status 500)... reading log
from Tomcat.
Regards,
Antonio.
-----Messaggio originale-----
Da: Ulrich Nicolas Lissé [mailto:u.n.l-hi6Y0CQ0nG0@xxxxxxxxxxxxxxxx]
Inviato: venerdì 4 novembre 2005 9.27
A: Fernando Gomez
Cc: Antonio De Simone;
chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
Oggetto: Re: [Chiba-developer] Web Services integration into Chiba
hi all,
it might be a useful approach *not* to use the standard HTTP connectors
but to implement a URI resolver / submission handler handler pair
dedicated to SOAP. these might extend the HTTP connectors for transport,
but could do own magic by setting special headers, evaluating response
codes, and so on ...
this would be a nice contribution. leisure time anyone ?
regards,
uli.
Fernando Gomez wrote:
Hi Antonio
I tried to replace an instance with SOAP responses, using a src="..."
link, but after several approaches (and errors, grrrr... ;-) ) , I
decide to implement a Java servlet , who calls the ws, and create
context variables with data. After that, I modify setValueAction to
render the new instance with the context values.
In XForms form, make a submission ponting the servlet, and you're done.
A bit rough, but works for me...
Hope this helps
Fernando
On 10/27/05, Antonio De Simone
<ADeSimone-VMHtyfgh8hTR7s880joybQ@xxxxxxxxxxxxxxxx> wrote:
Hi,
I saw from previous messages (see Fernando Gomez and others) that there
is the possibility of calling a Web Services to obtain some values and
to show them into the form. Well, I'm trying to do the same, but it
doesn't work.
Can anybody help me please? I need to replace a piece of my XML instance
with the SOAP response body (I want to show the new XML through Debug
submission).
Thanks,
Antonio.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer
--
Ulrich Nicolas Lissé
--
Ulrich Nicolas Lissé
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
|