Thanks a lot Ruwan! it worked.

Regards,
Sabareeswar
-----Original Message-----
From: Ruwan Linton [mailto:[email protected]] 
Sent: Monday, December 14, 2009 6:49 PM
To: [email protected]
Subject: Re: publishing an RPC-encoded WSDL in Synapse

It has to be on the proxy level and please note the spelling of the
parameter name;

<proxy name="Workflow">

       <target>

           <inSequence>

               <send>

                   <endpoint>

                       <address uri="http://localhost:8080/workflow"/>

                   </endpoint>

               </send>

           </inSequence>

         <outSequence>

               <send/>

         </outSequence>

       </target>

       <publishWSDL
uri="file:repository/conf/sample/resources/proxy/rpc.wsdl"/>

       <parameter name="useOriginalwsdl">true</parameter>

   </proxy>

Thanks,
Ruwan


On Mon, Dec 14, 2009 at 6:30 PM, Sabareeswar P. B. <
[email protected]> wrote:

> Thanks for replying Ruwan!
>
>
>
> I tried this out but still not getting the rpc wsdl as it is.
>
>
>
> I tried it with both
>
>      <parameter name="useOriginalWSDL" value="true"/>
>
> And
>
>      <parameter name="useOriginalWSDL">true</parameter>
>
>
>
> under publishWSDL as..
>
>
>
> <definitions xmlns="http://ws.apache.org/ns/synapse";>
>
>   <proxy name="Workflow">
>
>        <target>
>
>            <inSequence>
>
>                <send>
>
>                    <endpoint>
>
>                        <address uri="http://localhost:8080/workflow"/>
>
>                    </endpoint>
>
>                </send>
>
>            </inSequence>
>
>          <outSequence>
>
>                <send/>
>
>          </outSequence>
>
>        </target>
>
>        <publishWSDL
> uri="file:repository/conf/sample/resources/proxy/rpc.wsdl">
>
>            <parameter name="useOriginalWSDL">true</parameter>
>
>        </publishWSDL>
>
>    </proxy>
>
> </definitions>
>
>
>
> Regards,
>
> Sabareeswar
>
> +91 80 668 82267
>
> -----Original Message-----
> From: Ruwan Linton [mailto:[email protected]]
> Sent: Friday, December 11, 2009 9:21 PM
> To: [email protected]
> Subject: Re: publishing an RPC-encoded WSDL in Synapse
>
>
>
> Please use the parameter useOriginalWSDL as a parameter while creating the
>
> proxy.
>
>
>
> <parameter name="useOriginalWSDL" value="true"/>
>
>
>
> Thanks,
>
> Ruwan
>
>
>
> On Wed, Dec 9, 2009 at 2:31 PM, Sabareeswar P. B. <
>
> [email protected]> wrote:
>
>
>
> > Hi,
>
> >
>
> > My requirement is to use Synapse and a soap intermediary between a web
>
> > service which exposes a document-literal WSDL and a web service client
> which
>
> > has been generated out of an rpc-encoded WSDL.
>
> >
>
> > So I had planned to use the publishWSDL feature in Synapse to expose the
>
> > rpc-encoded WSDL to the client and internally forward the soap message to
>
> > the document-literal web service (after necessary transformations).
>
> >
>
> > The issue is that even if I point publishWSDL to an rpc-encoded WSDL, the
>
> > resulting wsdl from synapse is document-literal.
>
> >
>
> > Could someone please suggest me how to expose the rpc-encoded wsdl as it
>
> > is?
>
> >
>
> > Regards,
>
> > Sabareeswar
>
> >
>
>
>
>
>
>
>
> --
>
> Ruwan Linton
>
> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
>
> WSO2 Inc.; http://wso2.org
>
> email: [email protected]; cell: +94 77 341 3097
>
> blog: http://ruwansblog.blogspot.com
>



-- 
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: [email protected]; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com

Reply via email to