RE: [ws]Creating request response
Thanks , I guess this will work for me. Regards Aditya -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Sunday, February 17, 2008 11:23 PM To: axis-user@ws.apache.org Subject: Re: [ws]Creating request response Please clarify: Do you need to manually write a WSDL based on a SOAP message? Or do you want to automatically generate a WSDL based on a SOAP message? The first step in this process is to define an XML Schema definition for the SOAP message instance document. This article (http://www.xml.com/pub/a/2000/11/29/schemas/part1.html) provides basic guidance for doing so. You can also find utilities that can generate a schema from an instance document, e.g.: http://www.hitsw.com/xml_utilites/ http://www.xmlforasp.net/CodeBank/System_Xml_Schema/BuildSchema/BuildXMLSchema.aspx http://www.stylusstudio.com/autogen_xsd.html http://www.altova.com/dev_portal_xml_schema.html After you've written/generated the schema you should be able to plug it into a generic WSDL, e.g., http://schemas.xmlsoap.org/wsdl/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:tns="http://generic.webservice.namespace"; targetNamespace="http://generic.webservice.namespace";> http://schemas.xmlsoap.org/soap/http"/> Note the various comments in the WSDL that require additional modifications. This methodology should work for any service that uses literal schema definitions. A little more work is required if the service uses RPC/encoded -- especially if it uses multi-refs. That would be a lot more difficult to automate. Anne On Feb 17, 2008 4:30 AM, Aditya Anad <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > Thanks for reply.But I didn't meant that.I have to manually write a wsdl > from give request respone.So just need some information how it get > generated, so that I can do the same > > Regards > > > > aditya > > > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Friday, February 15, 2008 4:30 PM > > To: axis-user@ws.apache.org > Subject: RE: [ws]Creating request response > > > > > > > > Hi, > > > > For testing webservices i use SOAP-ui as a client > > See http://www.soapui.org/ > > > > You create a project and attach a wsdl (url) and it generates a sample > message which you can fill-out. > > Is this what you mean? > > > > Regards > > > > dirk > > > > > > > > -Original Message- > From: Aditya Anad [mailto:[EMAIL PROTECTED] > Sent: vrijdag 15 februari 2008 11:31 > To: axis-user@ws.apache.org > Subject: [ws]Creating request response > > > > Hi all, > > > > I need to create a SOAP request And SOAP response from a given WSDL manually > and vice versa. I am through with WSDL.Is there any link or manually u can > refer which can help me up. > > > > Regards > > Aditya > > > CAUTION - Disclaimer * > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely for the use of the addressee(s). If you are not the intended > recipient, please notify the sender by e-mail and delete the original > message. Further, you are not to copy, disclose, or distribute this e-mail > or its contents to any other person and any such actions are unlawful. This > e-mail may contain viruses. Infosys has taken every reasonable precaution to > minimize this risk, but is not liable for any damage you may sustain as a > result of any virus in this e-mail. You should carry out your own virus > checks before opening the e-mail or attachment. Infosys reserves the right > to monitor and review the content of all messages sent to or from this > e-mail address. Messages sent to or from this e-mail address may be stored > on the Infosys e-mail system. > ***INFOSYS End of Disclaimer INFOSYS*** > > The information transmitted via this e-mail is intended only for the person > or entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or other use > of, or taking of any action in reliance upon this information by persons or
Re: [ws]Creating request response
Please clarify: Do you need to manually write a WSDL based on a SOAP message? Or do you want to automatically generate a WSDL based on a SOAP message? The first step in this process is to define an XML Schema definition for the SOAP message instance document. This article (http://www.xml.com/pub/a/2000/11/29/schemas/part1.html) provides basic guidance for doing so. You can also find utilities that can generate a schema from an instance document, e.g.: http://www.hitsw.com/xml_utilites/ http://www.xmlforasp.net/CodeBank/System_Xml_Schema/BuildSchema/BuildXMLSchema.aspx http://www.stylusstudio.com/autogen_xsd.html http://www.altova.com/dev_portal_xml_schema.html After you've written/generated the schema you should be able to plug it into a generic WSDL, e.g., http://schemas.xmlsoap.org/wsdl/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:tns="http://generic.webservice.namespace"; targetNamespace="http://generic.webservice.namespace";> http://schemas.xmlsoap.org/soap/http"/> Note the various comments in the WSDL that require additional modifications. This methodology should work for any service that uses literal schema definitions. A little more work is required if the service uses RPC/encoded -- especially if it uses multi-refs. That would be a lot more difficult to automate. Anne On Feb 17, 2008 4:30 AM, Aditya Anad <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > Thanks for reply.But I didn't meant that.I have to manually write a wsdl > from give request respone.So just need some information how it get > generated, so that I can do the same > > Regards > > > > aditya > > > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Friday, February 15, 2008 4:30 PM > > To: axis-user@ws.apache.org > Subject: RE: [ws]Creating request response > > > > > > > > Hi, > > > > For testing webservices i use SOAP-ui as a client > > See http://www.soapui.org/ > > > > You create a project and attach a wsdl (url) and it generates a sample > message which you can fill-out. > > Is this what you mean? > > > > Regards > > > > dirk > > > > > > > > -Original Message- > From: Aditya Anad [mailto:[EMAIL PROTECTED] > Sent: vrijdag 15 februari 2008 11:31 > To: axis-user@ws.apache.org > Subject: [ws]Creating request response > > > > Hi all, > > > > I need to create a SOAP request And SOAP response from a given WSDL manually > and vice versa. I am through with WSDL.Is there any link or manually u can > refer which can help me up. > > > > Regards > > Aditya > > > CAUTION - Disclaimer * > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely for the use of the addressee(s). If you are not the intended > recipient, please notify the sender by e-mail and delete the original > message. Further, you are not to copy, disclose, or distribute this e-mail > or its contents to any other person and any such actions are unlawful. This > e-mail may contain viruses. Infosys has taken every reasonable precaution to > minimize this risk, but is not liable for any damage you may sustain as a > result of any virus in this e-mail. You should carry out your own virus > checks before opening the e-mail or attachment. Infosys reserves the right > to monitor and review the content of all messages sent to or from this > e-mail address. Messages sent to or from this e-mail address may be stored > on the Infosys e-mail system. > ***INFOSYS End of Disclaimer INFOSYS*** > > The information transmitted via this e-mail is intended only for the person > or entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or other use > of, or taking of any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. If you received > this in error, please contact the sender and delete the material from any > computer. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ws]Creating request response
Hi, Thanks for reply.But I didn't meant that.I have to manually write a wsdl from give request respone.So just need some information how it get generated, so that I can do the same Regards aditya From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 4:30 PM To: axis-user@ws.apache.org Subject: RE: [ws]Creating request response Hi, For testing webservices i use SOAP-ui as a client See http://www.soapui.org/ You create a project and attach a wsdl (url) and it generates a sample message which you can fill-out. Is this what you mean? Regards dirk -Original Message- From: Aditya Anad [mailto:[EMAIL PROTECTED] Sent: vrijdag 15 februari 2008 11:31 To: axis-user@ws.apache.org Subject: [ws]Creating request response Hi all, I need to create a SOAP request And SOAP response from a given WSDL manually and vice versa. I am through with WSDL.Is there any link or manually u can refer which can help me up. Regards Aditya CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
RE: [ws]Creating request response
Hi, For testing webservices i use SOAP-ui as a client See http://www.soapui.org/ You create a project and attach a wsdl (url) and it generates a sample message which you can fill-out. Is this what you mean? Regards dirk -Original Message- From: Aditya Anad [mailto:[EMAIL PROTECTED] Sent: vrijdag 15 februari 2008 11:31 To: axis-user@ws.apache.org Subject: [ws]Creating request response Hi all, I need to create a SOAP request And SOAP response from a given WSDL manually and vice versa. I am through with WSDL.Is there any link or manually u can refer which can help me up. Regards Aditya CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.