RE: SOAP applications ?
What I get is SOAP applications always will be call to set of methods which are not interrelated. If a system has to be developed where a user logs in, does some sequence of interrelated operations and logs out. In such kind of scenario SOAP wont be a good choice. SOAP will be useful to expose individual methods as SOAP calls. Shashi Anand ---Original Message--- From: [EMAIL PROTECTED] Date: Tuesday, May 14, 2002 17:50:37 To: [EMAIL PROTECTED] Subject: RE: SOAP applications ? A SOAP or web service application is a distributed application. It makescalls to servers that you either control yourself (such as an interfaceto a legacy system), that are controlled by your business partners, orthat provide a public information service (like zip code services). SOAPis just one way to make these calls. You build an application treatingeach web service as if it were just a local component. What's nice isthat you can also take any information source and put a web servicewrapper around it. By exposing this source as web service, you andanyone else has a well-known, cross-platform, high-level way of callingmethods to retrieve data from this source-- SOAP. One simple application that could be built in this manner would be avacation planner. You could combine weather services, map services, anda seach engine all through web services. Punch in the zip code of whereyou are and where you are going and voila- out comes a map, the weatherreport, and some search engine results on what to do once you get there.www.xmethods.com http://www.xmethods.com has a weather service (andmany other service useful for testing), google has created a web serviceexposing their search engine, and for a map service you can just wrapyahoo or mapquest in a simple web service wrapper if it hasn't alreadybeen done.Erich IzdepskiSenior Software EngineerCysive, Inc.-Original Message-From: Shashi Anand [mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 14, 2002 1:09 AMTo: [EMAIL PROTECTED]Subject: SOAP applications ?Hi,What could be SOAP applications in real world ?In other words how to decide whether SOAP could be solution to somescenarios.ThanksShashi Anand.
SOAP applications ?
Hi, What could be SOAP applications in real world ? In other words how to decide whether SOAP could be solution to some scenarios. Thanks Shashi Anand
RE: soap messaging XML ???
Which would be a better approach using JAXM or using the SOAP APIs as shown below ? + Shashi Anand ( Senior Software Engineer 8 Infogain India O B 15 Sec 58, NOida, UP 201301, India -Original Message-From: Ashutosh Arora [mailto:[EMAIL PROTECTED]]Sent: Saturday, March 09, 2002 1:10 AMTo: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'Subject: RE: soap messaging XML ??? Shashi, Apache SOAP message can be built using Apache SOAP API. You need not read them from file. Developers did a great job with Apache SOAP APIs. It providesgreat support and utilities for that. Following code snippet will walk u thru: // Create document DocumentBuilder xdb = XMLParserUtils.getXMLDocBuilder(); Document doc = xdb.newDocument(); // Create SOAP envelope Envelope msgEnv = new Envelope(); Body msgBody = new Body(); Vector bodyEntries = new Vector(); // In bodyEntries add DOM Element object to your body. Or you can add java objects with pre-registered serializer/deserializer. // Following shows how to add DOM element Element myEl = doc.createElement("myelement); bodyEntries.addElement(myEl); msgBody.setBodyEntries(bodyEntries); // Set body msgEnv.setBody(msgBody); String strWriter; msgEnv.setAttribute(new QName(Constants.NS_URI_SOAP_ENV, // SOAP encoding Constants.ATTR_ENCODING_STYLE), Constants.NS_URI_SOAP_ENC); msgEnv.marshall(strWriter, new XMLJavaMappingRegistry(), new SOAPContext()); String xmlMsg = strWriter.toString(); Hope this code snippet helps. Thanks -Ashutosh. -Original Message-From: Shashi Anand [mailto:[EMAIL PROTECTED]]Sent: Friday, March 08, 2002 2:14 AMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: soap messaging XML ??? Hi, One strange thing I noticed is that all the tutorials explaining the SOAP messaging assume whole SOAP message to be readilly available in XML file, where as this is not the case. None of tutorials explain how to form this SOAP message given the XML which is only part of message body. Does somebody have any idea on how to form the SOAP message using API. + Shashi Anand ( Senior Software Engineer 8 Infogain India O B 15 Sec 58, NOida, UP 201301, India
soap messaging XML ???
Hi, One strange thing I noticed is that all the tutorials explaining the SOAP messaging assume whole SOAP message to be readilly available in XML file, where as this is not the case. None of tutorials explain how to form this SOAP message given the XML which is only part of message body. Does somebody have any idea on how to form the SOAP message using API. + Shashi Anand ( Senior Software Engineer 8 Infogain India O B 15 Sec 58, NOida, UP 201301, India
RE: How can I turn off validation in SOAP/Xerces not changing the source code
I think by default SOAP does not enbles validation while creating parser. check out MessageRouterServlet, RPCRouterServlet, XMLParserUtils... +Shashi Anand (Senior Software Engineer 8Infogain India OB 15 Sec 58, NOida, UP 201301, India -Original Message- From: Nicole Seiffert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 9:56 PM To: [EMAIL PROTECTED] Subject: How can I turn off validation in SOAP/Xerces not changing the source code Hello, maybe it is a stupid question: I have written a Web Service application using Soap and XML4J (with many of the generation tools of IBM). It is very slow, so I have read in the Performance FAQ of Xerces to make my application faster is to turn off the validation. They gave an example how, if you write the Parser-Code by yourself. But this is my problem. I don´t want to change the source-code of SOAP or Xerces. I´m looking for a configuration file, that will be read at runtime, but I didn´t find anything (maybe I search at the wrong place). Did anybody have an idea, how can I turn off validation, but don´t change the source code? Thank you in advance Nicole __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Ihre E-Mail noch individueller? - http://domains.yahoo.de
RE: parsing soap message
You should write a provider for this purpose... + Shashi Anand ( Senior Software Engineer 8 Infogain India O B 15 Sec 58, NOida, UP 201301, India -Original Message-From: Krishnakanth Rao [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 22, 2002 5:00 PMTo: [EMAIL PROTECTED]Subject: Re: parsing soap message Hello, My requirement is as follows. I have different semantic-nets built to serve different services. During run time I get a soap request to one of the services. So I have find out the method in the soap message and invoke the appropriate method in the semantic-net. (Symentic net is mapping between object model of a service provider and a service requester) How do I do this ? - Original Message - From: C Santosh Kumar To: [EMAIL PROTECTED] Sent: Tuesday, January 22, 2002 4:48 PM Subject: Re: parsing soap message You dont need worry about that - apache-soap does that for you. With the rpc framework of apache-soap, you do not have access to the soap message. with message-style, you have. - Original Message - From: Krishnakanth Rao To: [EMAIL PROTECTED] Sent: Tuesday, January 22, 2002 4:43 PM Subject: parsing soap message Hello,Will the apache-soap api's allow me to parse a soap message and find out the method to be invoked and the parameters sent along with the messageRegardsKrishnakanth
RE: SOAP API question
have a look at code in org.apache.soap.server.http.MessageRouterServlet or RPCRouterServlet This code handles the soap envelope and performs the RPC and message routing. On same lines you can write your own provider and do whatever with the message... +Shashi Anand (Senior Software Engineer 8Infogain India OB 15 Sec 58, NOida, UP 201301, India -Original Message- From: Michal Pisanko [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 2:30 PM To: [EMAIL PROTECTED] Subject: Re: SOAP API question Probably you can use the basic steps as in MessageRouter for SOAP. how can i see what are those steps? + Shashi Anand ( Senior Software Engineer 8 Infogain India O B 15 Sec 58, NOida, UP 201301, India -Original Message- From: Steve Pannier [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 10:52 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: SOAP API question I have a servlet that accepts SOAP requests over HTTP. I want to take the SOAP Envelope and do with it as I please. (I don't need the method invoking, deployment via wsdd, serializing/deserializing, etc that Axis provides.) I then want to generate my own SOAP response and return it in the HTTP response. Can Axis (or Apache SOAP) be of any use to me? Can I use the Axis (or Apache SOAP) API to simply parse a SOAP message (or construct a SOAP message), without having to work with engines/handlers/providers/etc? Or would it make more sense to simply use an XML API (for example, xerces) to parse the SOAP request (and construct the SOAP response)? Steve Pannier Jacada, Inc. (763) 268-6382 [EMAIL PROTECTED] http://www.jacada.com
RE: SOAP API question
Probably you can use the basic steps as in MessageRouter for SOAP. +Shashi Anand (Senior Software Engineer 8Infogain India OB 15 Sec 58, NOida, UP 201301, India -Original Message- From: Steve Pannier [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 10:52 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: SOAP API question I have a servlet that accepts SOAP requests over HTTP. I want to take the SOAP Envelope and do with it as I please. (I don't need the method invoking, deployment via wsdd, serializing/deserializing, etc that Axis provides.) I then want to generate my own SOAP response and return it in the HTTP response. Can Axis (or Apache SOAP) be of any use to me? Can I use the Axis (or Apache SOAP) API to simply parse a SOAP message (or construct a SOAP message), without having to work with engines/handlers/providers/etc? Or would it make more sense to simply use an XML API (for example, xerces) to parse the SOAP request (and construct the SOAP response)? Steve Pannier Jacada, Inc. (763) 268-6382 [EMAIL PROTECTED] http://www.jacada.com
RE: Adding Body to RPC
You probably should use SOAP messaging for this purpose. + Shashi Anand ( Senior Software Engineer 8 Infogain India O B 15 Sec 58, NOida, UP 201301, India -Original Message-From: Madan, Kapil [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 16, 2002 10:54 PMTo: '[EMAIL PROTECTED]'Cc: '[EMAIL PROTECTED]'Subject: Adding Body to RPC Hi all how can we add own tags to the body to the rpc Call object SOAP-ENV:Bodymy:request cmd xmlns="http://developer.ab/schemas/" action="abc" logError="1" /cmd/my:request/SOAP-ENV:Body when I use Parameter, it does not create cmd tag any clue thanks in advance This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
RE: How to stop verbose soap server logging?
you are using a template provider shipped as an example of writting providers. these messages are for informationaly purpose and you can change the code of TemplateProvider. shashi anand -Original Message- From: Ira Waxberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 2:14 PM To: [EMAIL PROTECTED] Subject: How to stop verbose soap server logging? How do I turn off this verbose logging, which I assume is being sent to stdout? I'm running Apache-SOAP on a WebLogic server. The following is written to the server log on every request: = In TemplateProvider.locate() URI: urn:quotemasterflash DD.ServiceClass: org.apache.soap.providers.StatelessEJBProvider DD.ProviderClass: QuoteMasterFlash Call.MethodName: getRicNames = In TemplateProvider.invoke() Ira [EMAIL PROTECTED]
RE: Soap RPC or SOAP messaging?
depends if you just have few of requests operations you can use RPC otherwise otherwise you can use messaging for finer control on dynamically invoking operations, this will need more effort... shashi anand -Original Message- From: Sandeep Heer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 3:26 PM To: [EMAIL PROTECTED] Subject: Soap RPC or SOAP messaging? Hi I am developing a webservice that receives SOAP messages from a webserver (the webserver receives requests for information made by users on a web front end). Should i send the XML messages from the webserver to my webservice using SOAP messaging or SOAP RPC? What are the pros and cons? Thanks in advance, Sandeep. - E-mail Confidentiality Notice and Disclaimer This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to which they are addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. E-mail messages are not necessarily secure. Hitachi does not accept responsibility for any changes made to this message after it was sent. Please note that Hitachi checks outgoing e-mail messages for the presence of computer viruses. -
RE: pass arguments to the constructor of SOAP service
I do not there is any way to do that. Only defauly constructor is used to consruct the object. -Original Message- From: Rino Srivastava [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 7:23 PM To: [EMAIL PROTECTED] Subject: RE:pass arguments to the constructor of SOAP service Is there anyway by which you can pass arguments to the constructor of SOAP service? If yes then where to configure these parameter values? Thanks. Rino
RE: Do I need a serializer ?
Title: Do I need a serializer ? Apache comes with serializer/de-serializerfor Javabean and other datatypes so if you pass and receive whihc is not one of such datatypes then you do not need your custom one. Shashi Anand -Original Message-From: Jamie Tsao [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 15, 2002 1:52 AMTo: [EMAIL PROTECTED]Subject: Do I need a serializer ? I'm a beginner with SOAP, and have been reading a lot of documentation on it. I'm a bit confused about whether or not I need a serializer. What I'm trying to build: I want to use the RPC router servlet to provide a SOAP interface to our existing platform. Outside clients would make requests to our platform by sending XML request messages (in SOAP format). They would receive responses also in XML. So I basically need to take the XML message, grab the data out and instantiate a bean to pass into our existing business objects. Is this what the deserializer is meant for ? It doesn't seem like it. The code that does this seems very specific to the particular format of the XML message, and seems more like DOM work to me. When I get the response back from the business object, I have to take the data out of the javabean, and construct an XML message to be sent back to the client. This once agains seems very specific, and NOT serializer work. If I'm right in my assumptions, do I need a serializer/deserializer then ?? Thanks for any help.
RE: Can we run a SOAP server without any Web Server?
Title: Can we run a SOAP server without any Web Server? i think yes, soap is not limited to http you can use mail server or some other protocol too. -Original Message-From: Chouthri Palanisamy [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 15, 2002 8:42 AMTo: [EMAIL PROTECTED]Subject: Can we run a SOAP server without any Web Server? Hi, Can any of you help me!!!. Can we run a SOAP server without any Web Server?. Could you pls let me know. Thanks Regards, Chouthri Palanisamy