trouble with calling FormsService through soap

23 views
Skip to first unread message

JavaJones

unread,
May 2, 2008, 3:06:47 PM5/2/08
to Adobe LiveCycle Developers
Hello,
We have jboss and livecycle up and going on our server. Whenever we
call the services we get a page that looks like a sample page that
says here are some web services, and lists a couple of wsdls. However,
FormsService is not one of them. When we type in
http://servername/soap/services/FormsService we get a page not found
error.
What are we missing?

JavaJones

unread,
May 2, 2008, 4:25:04 PM5/2/08
to Adobe LiveCycle Developers
also when we hit http://servername/soap/services/FormsService?wsdl we
do get the xml back.

On May 2, 2:06 pm, JavaJones <jlewis7...@gmail.com> wrote:
> Hello,
> We have jboss and livecycle up and going on our server. Whenever we
> call the services we get a page that looks like a sample page that
> says here are some web services, and lists a couple of wsdls. However,
> FormsService is not one of them. When we type inhttp://servername/soap/services/FormsServicewe get a page not found

Bob Bailey

unread,
May 2, 2008, 4:35:13 PM5/2/08
to Adobe LiveCycle Developers
Have you tried using the Forms IVS to make sure the install is OK?
There is a blog post about it here:
http://blogs.adobe.com/livecycle/2007/11/the_livecycle_forms_es_10_inst.html



On May 2, 4:25 pm, JavaJones <jlewis7...@gmail.com> wrote:
> also when we hithttp://servername/soap/services/FormsService?wsdlwe
> do get the xml back.
>
> On May 2, 2:06 pm, JavaJones <jlewis7...@gmail.com> wrote:
>
> > Hello,
> > We have jboss and livecycle up and going on our server. Whenever we
> > call the services we get a page that looks like a sample page that
> > says here are some web services, and lists a couple of wsdls. However,
> > FormsService is not one of them. When we type inhttp://servername/soap/services/FormsServiceweget a page not found

JavaJones

unread,
May 2, 2008, 4:45:25 PM5/2/08
to Adobe LiveCycle Developers
Thanks we'll give this a whirl. But I have a feeling we are missing
something simple. If there are any other suggestions I'd appreciate
it.
Would there be a reason why we can run our application against the
service and yet not be able to pull anything up in a web browser?

On May 2, 3:35 pm, Bob Bailey <bobai...@adobe.com> wrote:
> Have you tried using the Forms IVS to make sure the install is OK?
> There is a blog post about it here:http://blogs.adobe.com/livecycle/2007/11/the_livecycle_forms_es_10_in...
>
> On May 2, 4:25 pm, JavaJones <jlewis7...@gmail.com> wrote:
>
> > also when we hithttp://servername/soap/services/FormsService?wsdlwe
> > do get the xml back.
>
> > On May 2, 2:06 pm, JavaJones <jlewis7...@gmail.com> wrote:
>
> > > Hello,
> > > We have jboss and livecycle up and going on our server. Whenever we
> > > call the services we get a page that looks like a sample page that
> > > says here are some web services, and lists a couple of wsdls. However,
> > > FormsService is not one of them. When we type inhttp://servername/soap/services/FormsServicewegeta page not found

Brad Pigott

unread,
May 2, 2008, 5:50:01 PM5/2/08
to live...@googlegroups.com
Are you trying to call the FormService from a webservice java stub classes?

Brad Pigott

JavaJones

unread,
May 5, 2008, 10:34:29 AM5/5/08
to Adobe LiveCycle Developers
No we are calling the service through our C# app.

On May 2, 4:50 pm, "Brad Pigott" <brad.pig...@gmail.com> wrote:
> Are you trying to call the FormService from a webservice java stub classes?
>
> Brad Pigott
>
> On Fri, May 2, 2008 at 3:45 PM, JavaJones <jlewis7...@gmail.com> wrote:
>
> > Thanks we'll give this a whirl. But I have a feeling we are missing
> > something simple. If there are any other suggestions I'd appreciate
> > it.
> > Would there be a reason why we can run our application against the
> > service and yet not be able to pull anything up in a web browser?
>
> > On May 2, 3:35 pm, Bob Bailey <bobai...@adobe.com> wrote:
> > > Have you tried using the Forms IVS to make sure the install is OK?
> > > There is a blog post about it here:
> >http://blogs.adobe.com/livecycle/2007/11/the_livecycle_forms_es_10_in...
>
> > > On May 2, 4:25 pm, JavaJones <jlewis7...@gmail.com> wrote:
>
> > > > also when we hithttp://servername/soap/services/FormsService?wsdlwe
> > > > do get the xml back.
>
> > > > On May 2, 2:06 pm, JavaJones <jlewis7...@gmail.com> wrote:
>
> > > > > Hello,
> > > > > We have jboss and livecycle up and going on our server. Whenever we
> > > > > call the services we get a page that looks like a sample page that
> > > > > says here are some web services, and lists a couple of wsdls.
> > However,
> > > > > FormsService is not one of them. When we type
> > inhttp://servername/soap/services/FormsServicewegetapage not found

Brad Pigott

unread,
May 5, 2008, 10:50:32 AM5/5/08
to live...@googlegroups.com
In our java web service call to the Forms Service,   we had to append blob=base64 to URL of the web service.

For example,    

// Use to get a proxy class for FormsService
    private java.lang.String FormsService_address = "http://servername:8080/soap/services/FormsService?blob=base64";

If we did not do this,  the document (rendered pdf) can back null.  

Brad Pigott

JavaJones

unread,
May 5, 2008, 11:22:20 AM5/5/08
to Adobe LiveCycle Developers
Thanks Brad.
I have a question regarding setting up the livecycle server (jboss)
did you have to create a special place/invoke soap and services or did
this all get set up automatically when JBOSS was installed?

On May 5, 9:50 am, "Brad Pigott" <brad.pig...@gmail.com> wrote:
> In our java web service call to the Forms Service, we had to append
> blob=base64 to URL of the web service.
>
> For example,
>
> // Use to get a proxy class for FormsService
> private java.lang.String FormsService_address = "http://servername:8080/soap/services/FormsService?blob=base64";
>
> If we did not do this, the document (rendered pdf) can back null.
>
> Brad Pigott
>
> > > > inhttp://servername/soap/services/FormsServicewegetapagenot found

Brad Pigott

unread,
May 5, 2008, 3:31:54 PM5/5/08
to live...@googlegroups.com
When you deploy the Livecycle ears on jboss, this exposes all the installed livecycle services as a web service.
 
The processes that you create in Process Management are also automatically exposed as well.

Brad

chetan mehrotra

unread,
May 6, 2008, 3:01:26 AM5/6/08
to live...@googlegroups.com
How are you trying to invoke the web service through a browser?.

In LiveCycle you can access the wsdl for web service through a url like http://servername/soap/services/FormsService?wsdl . From this wsdl you can create the stubs in language of your choice and then invoke the operation of that web service via the generated stubs.

If you would try to directly type in the above url in a browser you would get the wsdl displayed as xml document.

To invoke the web service you would have to POST data in soap format to a url like http://servername/soap/services/FormsService?blob=base64.
The stubs you generate internally convert your method calls into a POST request confirming to soap format.
--
Chetan Mehrotra

JavaJones

unread,
May 6, 2008, 4:03:02 AM5/6/08
to Adobe LiveCycle Developers
When we type http://servername/soap/services/FormsService?wsdl we do
get information displayed. However if we are just hitting
http://servername/soap/services/FormsService we get a 404 error.
Shouldn't we at least get something?

On May 6, 2:01 am, "chetan mehrotra" <chetan.mehro...@gmail.com>
wrote:
> How are you trying to invoke the web service through a browser?.
>
> In LiveCycle you can access the wsdl for web service through a url likehttp://servername/soap/services/FormsService?wsdl. From this wsdl you can
> create the stubs in language of your choice and then invoke the operation of
> that web service via the generated stubs.
>
> If you would try to directly type in the above url in a browser you would
> get the wsdl displayed as xml document.
>
> To invoke the web service you would have to POST data in soap format to a
> url likehttp://servername/soap/services/FormsService?blob=base64.
> <http://servername:8080/soap/services/FormsService?blob=base64>
> The stubs you generate internally convert your method calls into a POST
> request confirming to soap format.
>
>
>
> On Tue, May 6, 2008 at 1:01 AM, Brad Pigott <brad.pig...@gmail.com> wrote:
> > When you deploy the Livecycle ears on jboss, this exposes all the
> > installed livecycle services as a web service.
>
> > The processes that you create in Process Management are also automatically
> > exposed as well.
>
> > Brad
>

chetan mehrotra

unread,
May 6, 2008, 5:02:09 AM5/6/08
to live...@googlegroups.com
You would get a 404 as the LiveCycle server do not respond to such GET requests for soap calls. To invoke it you would have to invoke it with message confirming to soap protocol. The easiest way to do that is through stubs.

Is there any specific thing you want to do for which you have to invoke it via a browser?
--
Chetan Mehrotra

JavaJones

unread,
May 6, 2008, 9:58:55 AM5/6/08
to Adobe LiveCycle Developers
No we are just complete noobs that didn't know you couldn't do it that
way. Thank you all for your help.

On May 6, 4:02 am, "chetan mehrotra" <chetan.mehro...@gmail.com>
wrote:
> You would get a 404 as the LiveCycle server do not respond to such GET
> requests for soap calls. To invoke it you would have to invoke it with
> message confirming to soap protocol. The easiest way to do that is through
> stubs.
>
> Is there any specific thing you want to do for which you have to invoke it
> via a browser?
>
>
>
> On Tue, May 6, 2008 at 1:33 PM, JavaJones <jlewis7...@gmail.com> wrote:
>
> > When we typehttp://servername/soap/services/FormsService?wsdlwe do
> > get information displayed. However if we are just hitting
> >http://servername/soap/services/FormsServicewe get a 404 error.
Reply all
Reply to author
Forward
0 new messages