Search the web
Sign In
New User? Sign Up
formsPlayer · formsPlayer Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Calling Web Services!!!   Message List  
Reply | Forward Message #2976 of 2979 |
Re: Calling Web Services!!!

Hello Mark,
Thank you very much for your speedy response. As you said I'm
using httpanalyzer tool to trace the Request and Response. I found
that it throws an exception in the response. Please find below
Request and Response info.

Request:
--------

POST /active-bpel/services/RequirementManagerService/PostRequirement
HTTP/1.1
Accept: */*
Accept-Language: en-us
Content-Type: text/xml; charset=UTF-8
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
formsPlayer 1.4; nxforms/1.00; .NET CLR 1.1.4322; .NET CLR 2.0.50727;
InfoPath.1)
Host: localhost:8080
Content-Length: 670
Connection: Keep-Alive
Cache-Control: no-cache

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<Requirement xmlns="http://prelude.ezre.types">
<SessionId xmlns="">f776769e-5061-400f-b830-3d483a4ed9b2</SessionId>
<ReqId xmlns="">1</ReqId>
<SkillSet xmlns="">C#, VB.NET</SkillSet>
<RQI xmlns="">90</RQI>
<NoOfCandidates xmlns="">3</NoOfCandidates>
<PostedBy xmlns="">
<UserId>1</UserId>
<UserName>Kumaar</UserName>
<EmailId>skumaar@...</EmailId>
</PostedBy>
</Requirement>
</soap:Body>
</soap:Envelope>

Response:
---------
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Mon, 23 Oct 2006 10:13:40 GMT
Connection: close

227
<?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
xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</fault
code>
<faultstring>no SOAPAction header!</faultstring>
<detail>
<ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/">laptop6</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
0

I did the following steps inorder to call webservice directly from
the XForms.

1. Added submission element as follows,
<xforms:submission method="post" mediatype="text/xml"
replace="instance"
action="http://localhost:8080/active-
bpel/services/RequirementManagerService/PostRequirement"
id="RMRequest">

When you look into the action attribute i mentioned the Webservice
Operation name along with the URL (PostRequirement is my operation
name). I'm sure i'm in the wrong path, because in the response it
clearly says "no SOAPAction Header". Can you please kindly let me
know where should I have to mention the Operation name for my Service
(http://localhost:8080/active-
bpel/services/RequirementManagerService).

Thanks,
Kumaar




--- In formsPlayer@yahoogroups.com, "Mark Birbeck" <mark.birbeck@...>
wrote:
>
> Hi Kumaar,
>
> > I'm calling my .net webservice from Xforms but it's not
invoking
> > the service. Anyone of your help will be really helpful to
proceed
> > further.
>
> You'll need to narrow things down a little, to work out where the
> problem is. The first thing I'd suggest is that if you are not
using a
> tool like Fiddler to monitor your network traffic, then you get one.
> Fiddler is from Microsoft, and free, but there are many other tools
> that do the same job--whatever you use, you need to work out whether
> formsPlayer is sending the correct data for your service, and also
> whether your service is giving you an error message. Then you can
> start to determine whether the problem is in your service or your
> form.
>
> Regards,
>
> Mark
>
> --
> Mark Birbeck
> CEO
> x-port.net Ltd.
>
> e: Mark.Birbeck@...
> t: +44 (0) 20 7689 9232
> w: http://www.formsPlayer.com/
> b: http://internet-apps.blogspot.com/
>
> Download our XForms processor from
> http://www.formsPlayer.com/
>






Mon Oct 23, 2006 10:19 am

kumaar.subra...
Offline Offline
Send Email Send Email

Forward
Message #2976 of 2979 |
Expand Messages Author Sort by Date

Hi All, I'm working on forms player for the past two days and i'm not able to acheive my milestones using WebServices. Here is my issue, 1. I have one...
kumaar.subramanian
kumaar.subra...
Offline Send Email
Oct 18, 2006
5:26 am

Hi, I'm calling my .net webservice from Xforms but it's not invoking the service. Anyone of your help will be really helpful to proceed further. My codes, 1....
kumaar.subramanian
kumaar.subra...
Offline Send Email
Oct 18, 2006
6:26 am

Hi Kumaar, ... You'll need to narrow things down a little, to work out where the problem is. The first thing I'd suggest is that if you are not using a tool...
Mark Birbeck
mark_birbeck
Offline Send Email
Oct 18, 2006
8:56 am

Hello Mark, Thank you very much for your speedy response. As you said I'm using httpanalyzer tool to trace the Request and Response. I found that it throws an...
kumaar.subramanian
kumaar.subra...
Offline Send Email
Oct 23, 2006
10:19 am

Hi Kumaar, This is a SOAP issue, I'm afraid. Your server is saying that it doesn't know what action to carry out, because you have not sent a SOAPAction...
Mark Birbeck
mark_birbeck
Offline Send Email
Oct 23, 2006
11:13 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help