Calling explosed Web Service without input object?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Calling explosed Web Service without input object?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Calling explosed Web Service without input object?  
FirasAm


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:51 PM

Hi All,

I'm using an orchestration exposed as web service, and I'm using it just to 
return data. So that mean I don't need the input message. Is there a way to 
expose the orchestration with no input message? Coz I think there's no sense
 to pass an input object (*
schema) with no elements like what I have done 


Tanks





[ Post a follow-up to this message ]



    Re: Calling explosed Web Service without input object?  
Patric McElroy [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:51 PM

You need an input message.  BTS can expose a WS that is either
requiest/reply or one-way (request only).  BTS doesn't have a notion of
exposing a "send only" WS (and I'm not sure what this would mean generally).

Of course, you can call a WS (e.g. consume an exposed WS) that is that is
one-way.  Here, the request comes form BTS and is sent to the WS with no
reply.

HTH.
--
Thanks,

Patric

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

"FirasAm" <FirasAm@discussions.microsoft.com> wrote in message
news:EEC6BE9D-119C-40FF-9D2C-5B7917831259@microsoft.com...
> Hi All,
>
> I'm using an orchestration exposed as web service, and I'm using it just
to return data. So that mean I don't need the input message. Is there a way
to expose the orchestration with no input message? Coz I think there's no
sense to pass an input object (*schema) with no elements like what I have
done 
>
>
> Tanks







[ Post a follow-up to this message ]



    Re: Calling explosed Web Service without input object?  
Vikas Nahata [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:51 PM

You cannot expose a webservice with no input parameter. This is because to
do that you need to create a multipart message with no parts which is
disallowed.

--------------------
| >>From: "Patric McElroy [MSFT]" <patricmc@online.microsoft.com>
| >>References: <EEC6BE9D-119C-40FF-9D2C-5B7917831259@microsoft.com>
| >>Subject: Re: Calling explosed Web Service without input object?
| >>Date: Thu, 24 Jun 2004 12:51:14 -0700
| >>Lines: 32
| >>X-Priority: 3
| >>X-MSMail-Priority: Normal
| >>X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
| >>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
| >>Message-ID: <OYw6cSiWEHA.2940@TK2MSFTNGP09.phx.gbl>
| >>Newsgroups: microsoft.public.biztalk.general
| >>NNTP-Posting-Host: tide70.microsoft.com 131.107.3.70
| >>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09
.phx.gbl
| >>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:16618
| >>X-Tomcat-NG: microsoft.public.biztalk.general
| >>
| >>You need an input message.  BTS can expose a WS that is either
| >>requiest/reply or one-way (request only).  BTS doesn't have a notion of
| >>exposing a "send only" WS (and I'm not sure what this would mean
generally).
| >>
| >>Of course, you can call a WS (e.g. consume an exposed WS) that is that
is
| >>one-way.  Here, the request comes form BTS and is sent to the WS with no
| >>reply.
| >>
| >>HTH.
| >>--
| >>Thanks,
| >>
| >>Patric
| >>
| >>This posting is provided "AS IS" with no warranties, and confers no
rights.
| >>Use of any included script samples are subject to the terms specified at
| >>http://www.microsoft.com/info/cpyright.htm"
| >>
| >>"FirasAm" <FirasAm@discussions.microsoft.com> wrote in message
| >>news:EEC6BE9D-119C-40FF-9D2C-5B7917831259@microsoft.com...
| >>> Hi All,
| >>>
| >>> I'm using an orchestration exposed as web service, and I'm using it
just
| >>to return data. So that mean I don't need the input message. Is there a
way
| >>to expose the orchestration with no input message? Coz I think there's
no
| >>sense to pass an input object (*schema) with no elements like what I
have
| >>done 
| >>>
| >>>
| >>> Tanks
| >>
| >>
| >>

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:44 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register