Re: wsdl 2 soap

2010-02-13 Thread Hemant Borole
soapui http://www.soapui.org/


On Fri, Feb 12, 2010 at 9:40 PM, Demetris  wrote:

>
> Hi all,
>
>   is there a tool that can generate SOAP messages directly from a WSDL
> files (without needing to
> generate and execute stubs)?
>
> Thanks
>
>


-- 
Hemant Borolé


Re: Can a web service be deployed on a server that is not an application server

2008-05-21 Thread Hemant Borole
Back to basics. Web service is any service that can be provided over
web, meaning via the http protocol. So it even need not be SOAP. (Soap
is a layer over http). So if you build anything that can handle http
requests, that could be as good as a web service. (I haven't heard of
any "web" service over bare TCP/IP).
So if you have a legacy client / server app that is able to listen to
http then you can add web services to your app.



On 5/21/08, WJ Krpelan <[EMAIL PROTECTED]> wrote:
> Hi
> in principle you just need a http:-server which has
> access to a webservice-engine, that is a
> xml-serialization and deserialization-program which
> knows how to handle SOAP-messages.
>
> in practice you will have to use one of the standard
> solutions available, be it in java, dotnet or
> elsewhere.
> Cheers
>
> --- Yuling Chen <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi Pudur,
>>
>> I think this article also requires a Tomcat...which
>> we wouldn't really
>> like to do.
>>
>> Thanks!
>>
>> YuLing Chen
>>
>> EEU SW EMS group
>> Santa Clara, CA
>> email: [EMAIL PROTECTED]
>> Direct: 408-970-2145
>>
>> -Original Message-
>> From: Ramaswamy, Pudur
>> [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, May 20, 2008 4:45 PM
>> To: axis-dev@ws.apache.org
>> Subject: RE: Can a web service be deployed on a
>> server that is not an
>> application server
>>
>> Can this answer your question?
>> http://ws.apache.org/axis2/1_1_1/pojoguide.html
>>
>>
>> Thanks,
>> -pudur
>>
>> -Original Message-
>> From: Yuling Chen [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, May 20, 2008 4:40 PM
>> To: axis-dev@ws.apache.org
>> Subject: Can a web service be deployed on a server
>> that is not an
>> application server
>>
>> Hi All,
>>
>> Does anyone know that if a web service can be
>> deployed on a server that
>> is not an application server?
>>
>> Thanks!
>>
>> YuLing Chen
>>
>> EEU SW EMS group
>> Santa Clara, CA
>> email: [EMAIL PROTECTED]
>> Direct: 408-970-2145
>>
>>
>>
> -
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>>
> -
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>>
>>
> -
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>>
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks and Regards
Hemant

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can a web service be deployed on a server that is not an application server

2008-05-20 Thread Hemant Borole
Yes, you just need a web server. Or if your web service is serving
just static pages ( no servlets etc ) then just a plain http server is
also enough.
By the way a lot depends on what type of web service you want to provide.
You also have option of coding your own cgi scripts on http server



On 5/20/08, Yuling Chen <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Does anyone know that if a web service can be deployed on a server that
> is not an application server?
>
> Thanks!
>
> YuLing Chen
>
> EEU SW EMS group
> Santa Clara, CA
> email: [EMAIL PROTECTED]
> Direct: 408-970-2145
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks and Regards
Hemant

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Return raw XML

2008-02-07 Thread Hemant Borole
try the tcpmon util provided by axis.
Set the axis jars in your classpath and then execute java
org.apache.axis.utils.tcpmon

I hope this is what you are looking for.


On Feb 7, 2008 7:23 AM, Luna, Abraham <[EMAIL PROTECTED]> wrote:

>  Is there a way to return the raw XML returned by a web service using the
> AXIS framework? I compiled some classes from a WSDL using the command-line
> tools.
>
>
> Thanks for your help,
>
>
>
> Abraham Luna
> Software Engineer
> WellCare Health Plans, Inc.
> 8735 Henderson Road
> Tampa, Florida 33634
> (800) 960-2530 ext. 1814
> [EMAIL PROTECTED]
>
> Confidential Privacy Notice: This e-mail message and any attachments are
> intended for the exclusive use of the addressee(s) and may contain
> information that is proprietary, confidential and/or exempt from disclosure
> and may be Protected Health Information.  If you are not the intended
> recipient, please contact the sender by reply e-mail and destroy all copies
> of this message.  If you are a regular recipient of our e-mails, please
> notify us if you change your e-mail address. Thank you.
>
>
>  --
> *From:* Luna, Abraham
> *Sent:* Thursday, February 07, 2008 10:09 AM
> *To:* 'axis-dev@ws.apache.org'
> *Subject:* Return raw XML
>
>  Is there a way to return the raw XML returned by a web service using the
> AXIS framework? I compiled some classes from a WSDL using the command-line
> tools.
>
>
> Thanks for your help,
>
>
>
> Abraham Luna
> Software Engineer
> WellCare Health Plans, Inc.
> 8735 Henderson Road
> Tampa, Florida 33634
> (800) 960-2530 ext. 1814
> [EMAIL PROTECTED]
>
> Confidential Privacy Notice: This e-mail message and any attachments are
> intended for the exclusive use of the addressee(s) and may contain
> information that is proprietary, confidential and/or exempt from disclosure
> and may be Protected Health Information.  If you are not the intended
> recipient, please contact the sender by reply e-mail and destroy all copies
> of this message.  If you are a regular recipient of our e-mails, please
> notify us if you change your e-mail address. Thank you.
>
>
> This email is confidential. This email message and any attachments are 
> intended for the exclusive use of the addressee(s) and may contain 
> information that is proprietary, confidential and/or exempt from disclosure, 
> and may be Protected Health Information. If you are not the intended 
> recipient, please contact the sender by reply email and destroy all copies of 
> this message. If you are a regular recipient of our emails, please notify us 
> if you change your email address.
>
>


-- 
Thanks and Regards
Hemant


Re: Using Map in DTO

2008-01-10 Thread Hemant Borole
Axis 1.4 or Axis 2?
I am not sure about Axis 2.0. But I have used axis 1.4 with very little
success with searializing Maps, or for that matter even HashMaps. One reason
being the value for the keys in the HashMap can have an undefined structure
and hence I believe Axis cannot figure out how to serialize it.
And anyway SOAP is about Objects, and I think, in this respect, it means
objects with defined structures. (as per the wsdl).
Here are my 2 cents, dont use Map, hashMap or for that matter any data type
whose structure is undefined. Use rigid objects.

Hope this helps

Regards
Hemant



On Jan 9, 2008 6:28 PM, <[EMAIL PROTECTED]> wrote:

> HI group,
>
> I amm trying to send a DTO which has a Map using Axis web services.
> When the run the client , i am getting NPE at some deserealization..
>
> If the use HashMap instead of Map, it works great.
>
> Whats the issue here.
>
> Thanks,
> Ajit
>
> DISCLAIMER:
> This message contains privileged and confidential information and is
> intended only for an individual named. If you are not the intended
> recipient, you should not disseminate, distribute, store, print, copy or
> deliver this message. Please notify the sender immediately by e-mail if you
> have received this e-mail by mistake and delete this e-mail from your
> system. E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed, arrive late
> or incomplete or contain viruses. The sender, therefore, does not accept
> liability for any errors or omissions in the contents of this message which
> arise as a result of e-mail transmission. If verification is required,
> please request a hard-copy version.
>



-- 
Thanks and Regards
Hemant


Re: code too large error

2007-12-20 Thread Hemant Borole
Sorry, The binding we are using is rpc.

On Dec 20, 2007 8:16 AM, Hemant Borole <[EMAIL PROTECTED]> wrote:

> Hi Amila,
> This is the same issue that I have reported about limitation on the number
> of operations in the WSDL.
> I am not using the -u option, will give it a try.
> I am using axis 1.4
> I am using document encoded.
> Unfortunately due to privacy concerns I am not able to share the WSDL.
>
>
> P.S. The issue reported by Man Tat and me are the same. Basically we are
> talking about the same WSDL file.
>
>
>
> On Dec 20, 2007 5:13 AM, Amila Suriarachchi <[EMAIL PROTECTED]>
> wrote:
>
> > what are the options you use to generate the code?
> > do you use the -u option. is it possible you to send the wsdl?
> >
> > thanks,
> > Amila.
> >
> >
> > On Dec 20, 2007 1:33 AM, Man Tat Lam < [EMAIL PROTECTED]> wrote:
> >
> > > Hi everyone,
> > >
> > >   I am a webservices developer (just for a few months).  I am using
> > > wsdl2java ant alot to build the stub, binding and stuff.  Everything works
> > > fine (thanks for your effort).  I went into some problem yesterday.
> > >
> > > I now have around 121 operations in my wsdl file, when I add one more
> > > operation and try to compile it.  The BindingSkeleton.java generated
> > > by wsdl2java throw me an error
> > >
> > > 12: code too large
> > > [javac] private static java.util.Map _myOperations = new
> > > java.util.Hashtable();
> > >
> > > It looks like there are too many operations and the Hashtable cannot
> > > hold it.  Can anyone give me some suggestion what I should do.  I know 
> > > many
> > > of you are very good designer and think I should refactor out some 
> > > methods.
> > > In this case, I don;t think I have the options.
> > >
> > > thanks alot, appreciated
> > > Merry X'mas
> > >
> > > mantat
> > >
> >
> >
> >
> > --
> > Amila Suriarachchi,
> > WSO2 Inc.
>
>
>
>
> --
> Thanks and Regards
> Hemant




-- 
Thanks and Regards
Hemant


Re: code too large error

2007-12-20 Thread Hemant Borole
Hi Amila,
This is the same issue that I have reported about limitation on the number
of operations in the WSDL.
I am not using the -u option, will give it a try.
I am using axis 1.4
I am using document encoded.
Unfortunately due to privacy concerns I am not able to share the WSDL.


P.S. The issue reported by Man Tat and me are the same. Basically we are
talking about the same WSDL file.


On Dec 20, 2007 5:13 AM, Amila Suriarachchi <[EMAIL PROTECTED]>
wrote:

> what are the options you use to generate the code?
> do you use the -u option. is it possible you to send the wsdl?
>
> thanks,
> Amila.
>
>
> On Dec 20, 2007 1:33 AM, Man Tat Lam < [EMAIL PROTECTED]> wrote:
>
> > Hi everyone,
> >
> >   I am a webservices developer (just for a few months).  I am using
> > wsdl2java ant alot to build the stub, binding and stuff.  Everything works
> > fine (thanks for your effort).  I went into some problem yesterday.
> >
> > I now have around 121 operations in my wsdl file, when I add one more
> > operation and try to compile it.  The BindingSkeleton.java generated by
> > wsdl2java throw me an error
> >
> > 12: code too large
> > [javac] private static java.util.Map _myOperations = new
> > java.util.Hashtable();
> >
> > It looks like there are too many operations and the Hashtable cannot
> > hold it.  Can anyone give me some suggestion what I should do.  I know many
> > of you are very good designer and think I should refactor out some methods.
> > In this case, I don;t think I have the options.
> >
> > thanks alot, appreciated
> > Merry X'mas
> >
> > mantat
> >
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.




-- 
Thanks and Regards
Hemant


No of operations in WSDL

2007-12-19 Thread Hemant Borole
Does Axis have a limit of number of operations in a single WSDL file. I have
about 90+ operations in my wsdl file, when I add a new operation I get an
error

12: code too large
   [javac]private static java.util.Map _myOperations = new
java.util.Hashtable();

If I remove an existing operation and add a new one, it works fine, and when
I add one more, I get this error. Looks like the wsdl has a limitation on
the number of operations. Is that true?

-- 
Thanks and Regards
Hemant


overloading based on return types.

2007-04-17 Thread Hemant Borole

What I am looking at is a way to have same method names but different return
types in the java code, generated from the wsdl schema.
So I am looking at a schema structure that allows me to generate a method
getValue, that can return me one of the 2 data types, namely String and user
defined class. Is this possible. How and where does this fit into the
schema. I tried using the xsd:choice but it does not allow same name.

for eg.

  
 
 


 
  



So what this generates is a getValue1 and a getValue2. Can I have getValue
in both the cases.


--
Thanks and Regards
Hemant