Re: Exception while deploying service

2001-06-18 Thread Sanjiva Weerawarana

Latest is v1.4 I believe and there have been no reported problems
with that.

Also, note that Apache SOAP v2.2 is JAXP enabled, meaning that you
can use any JAXP compatible parser.

Sanjiva.

- Original Message -
From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 11:55 AM
Subject: RE: Exception while deploying service


> What version of Xerces is recommended for SOAP. IS 1.4 ok ?or lower
versoin
> like 1.2
>
> -Original Message-
> From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 14, 2001 7:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Exception while deploying service
>
>
> Let me guess: you are using Xerces 1.3.1.  If so, try another version of
> Xerces.
>
> Scott
>
> - Original Message -
> From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 14, 2001 8:49 PM
> Subject: Exception while deploying service
>
>
> >
> > Why when I try to delploy my service through ServiceManagerClient I get
> this
> > error.
> >
> > I am running APACHE SOAP on Linux with IBM JDK .
> > I tried deploying it through Admin UI it succeds but when I try ot run
the
> > command through command line with List option again it givres me the
same
> > error. I tried running my sample client again I get the same error.. Is
> > there any thing I am missing ?
> >
> >
>
> --
> --
> > --
> >
> > Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
> msg=A
> > 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a:
> > 'faultcode' element.;
targetException=java.lang.IllegalArgumentException:
> A
> > 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a:
> > 'faultcode' element.]
> >
> > at java.lang.Throwable.(Throwable.java:96)
> >
> > at java.lang.Exception.(Exception.java:44)
> >
> > at org.apache.soap.SOAPException.(SOAPException.java:71)
> >
> > at org.apache.soap.SOAPException.(SOAPException.java:77)
> >
> > at org.apache.soap.rpc.Call.invoke(Call.java:246)
> >
> > at samples.stockquote.GetQuote.main(GetQuote.java:100)
> >
>
> --
> --
> > --
> >
> >
> >
> >
>




RE: DeployedServices.ds

2001-06-18 Thread Matthew J. Duftler



Hi 
Cleveland,
 
Your 
question is answered in the "Server Configuration" section of the User's 
Guide.
 
Thanks,
-Matt

  -Original Message-From: cleveland cooke 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, June 15, 2001 12:15 
  AMTo: [EMAIL PROTECTED]Subject: 
  DeployedServices.ds
  Does anyone know how I can change the location of DeployedServices.ds to 
  another location.  I tried to specify the new location in 
  weblogic.properties, but when I deployed it I reveived an error.
   
  Thanks.
   
  
  Get your FREE download of MSN Explorer at http://explorer.msn.com
  


RE: SOAP Method without returnValue - possible?

2001-06-18 Thread Matthew J. Duftler

Hi Ralf,

Yes, this will work fine. The "deploy" method on
org.apache.soap.server.ServiceManagerClient is one example if a void method
being used.

> -Original Message-
> From: Ralf Bierig [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 10:11 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: SOAP Method without returnValue - possible?
>
>
> Hi,
>
> is it possible to use a SOAP Service Method (over
> HTTP), which does not offer a result, for example:
>
> void myService(int value1, double value2);
>
> 
>
> I ask, because HTTP always return a HTTPResponse...
>
> So can I implement such a SOAP method and can Apache
> SOAP handle this?
>
> Greetings
> Ralf Bierig
>
>
> __
> Do You Yahoo!?
> Spot the hottest trends in music, movies, and more.
> http://buzz.yahoo.com/
>




RE: Exception while deploying service

2001-06-18 Thread Matthew J. Duftler

Hi Sandeep,

It is a known problem with the namespace support in Xerces v1.3.1. Higher
and lower versions work fine.

Thanks,
-Matt

> -Original Message-
> From: Khamesra, SandeepX [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 2:37 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Exception while deploying service
>
>
> Thanx a lot.. It worked with Xerces 1.2.3..
> Little surprised Higher version should be more stable than lower version..
> Why it should not work with that
>
>
> -Original Message-
> From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 11:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Exception while deploying service
>
>
> I believe you are OK as long as you do not use 1.3.1.
>
> Scott Nichol
>
> - Original Message -
> From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 15, 2001 11:55
> Subject: RE: Exception while deploying service
>
>
> > What version of Xerces is recommended for SOAP. IS 1.4 ok ?or lower
> versoin
> > like 1.2
> >
> > -Original Message-
> > From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 14, 2001 7:15 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Exception while deploying service
> >
> >
> > Let me guess: you are using Xerces 1.3.1.  If so, try another version of
> > Xerces.
> >
> > Scott
> >
> > - Original Message -
> > From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 14, 2001 8:49 PM
> > Subject: Exception while deploying service
> >
> >
> > >
> > > Why when I try to delploy my service through
> ServiceManagerClient I get
> > this
> > > error.
> > >
> > > I am running APACHE SOAP on Linux with IBM JDK .
> > > I tried deploying it through Admin UI it succeds but when I try ot run
> the
> > > command through command line with List option again it givres me the
> same
> > > error. I tried running my sample client again I get the same
> error.. Is
> > > there any thing I am missing ?
> > >
> > >
> > >
> --
> > --
> > > --
> > >
> > > Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
> > msg=A
> > > 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
> a:
> > > 'faultcode' element.;
> targetException=java.lang.IllegalArgumentException:
> > A
> > > 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
> a:
> > > 'faultcode' element.]
> > >
> > > at java.lang.Throwable.(Throwable.java:96)
> > >
> > > at java.lang.Exception.(Exception.java:44)
> > >
> > > at org.apache.soap.SOAPException.(SOAPException.java:71)
> > >
> > > at org.apache.soap.SOAPException.(SOAPException.java:77)
> > >
> > > at org.apache.soap.rpc.Call.invoke(Call.java:246)
> > >
> > > at samples.stockquote.GetQuote.main(GetQuote.java:100)
> > >
> > >
> --
> > --
> > > --
> > >
> > >
> > >
> > >
> >
> >
>
>




Apache SOAP threading

2001-06-18 Thread Chris Laws



I am using Apache Tomcat SOAP to do distributed 
applications in Java. When my client app sends a request to the server, it 
appears as if all threads on the client side are paused until the response is 
received and processed from the server. Sometimes the data sent from the server 
is of a relativly large size which results in 10-15 seconds of total 
transaction time. While this transaction is occuring, my user interface is 
frozen. Any attempt to isolate the request/response process in its own thread 
has no effect. I'd like to be able to allow the user to be able to access the 
interface without the "freezing" effect. Any suggestions?
 
 


RE: Help: SMTP over SOAP

2001-06-18 Thread Hardik Sanghvi

Shahid,

You will need to implement SMTP2HTTP bridge to make it work.

Refer to following document for more details:

http://xml.apache.org/soap/faq/faq_chawke_smtp.html

Hardik

>Reply-To: [EMAIL PROTECTED]
>From: "Shahid Ahmad" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>SUBJECTDate: Mon, 18 Jun 2001 11:47:53 -0400
>
>Has anyone managed to get the GetQuoteSMTP sample to work?
>
><< msg2.html >>





WWW.COM - Where the Web Begins! http://www.www.com



FW: User defined object as a request, literal XML as aresponse. Poss ible?!

2001-06-18 Thread Hecking, Dirck J

Guys,

Can someone please take a shot at my problem?

-Dirck

-Original Message-
From: Hecking, Dirck J [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 15, 2001 11:13 AM
To: '[EMAIL PROTECTED]'
Subject: User defined object as a request, literal XML as a response.
Poss ible?!


Guys,

Dirck here again. I have read several mails regarding this issue. I have not
seen one that illustrates my exact problem. The key here is that I want to
recieve literal xml in my response but want to supply a user defined object
as the requesting parameter. This code actually executes the service fine
and reads the arguements out of my object. The
response gets lost though, even though I specified literal xml encoding as
the default encoding for my document. My Apache Soap Service running on
Weblogic 5.1 has the following characteristics:

Note: The following code is a snippet.

Server:
public Element getResearch(ResearchArguments args)
{
  DocumentBuilderFactory  dbf =
DocumentBuilderFactory.newInstance();
  DocumentBuilder xdb = dbf.newDocumentBuilder ();
  Documentdoc = xdb.newDocument ();

   Element researchElement = doc.createElement("Whatever");

 // Extracts fields from the ResearchArguments class and creates a
 dynamic
 // research elements based on the information.

 return researchElement;
 }

 Client:
 public Element sendRequest()
 {
   url =   new URL(routerUrl);

 ResearchArguments   args= new
 ResearchArguments("data1","data2","data3");

   SOAPMappingRegistry smr = new SOAPMappingRegistry();
   BeanSerializer  beanSer = new BeanSerializer();

 smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
 QName("urn:xml-soap-args-demo", "args") , ResearchArguments.class,
beanSer,
 beanSer);

   call.setTargetObjectURI("urn:" + service);
   call.setMethodName(method);
   call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);

   call.setSOAPMappingRegistry(smr);

   params.addElement(new Parameter("args",
 ResearchArguments.class,
 args,
 Constants.NS_URI_SOAP_ENC));

 call.setParams(params);

 resp = call.invoke(url, "");
 // A fault gets generated from the server after this line
 }

 Exception:
 Generated fault:
   Fault Code   = SOAP-ENV:Server
   Fault String = java.lang.IllegalArgumentException: No Serializer found
to
 serialize a 'org.w3c.dom.Element' using encoding style
 'http://schemas.xmlsoap.org/soap/encoding/'.

 Deployment Descriptor:
 http://xml.apache.org/xml-soap/deployment";
  id="urn:HQService">
 
 
 


org.apache.soap.server.DOMFaultListener

 
 http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:x="urn:xml-soap-args-demo" qname="x:args"

 javaType="rs.ecommerce.service.xmlobjects.ResearchArguments"

 java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"

 xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
 
 




--
DISCLAIMER

Notice Regarding Entry of Orders and Instructions:  

Please do not transmit orders and/or instructions regarding your Robertson
Stephens account(s) by e-mail. Orders and/or instructions transmitted by
e-mail will not be accepted by Robertson Stephens, and Robertson Stephens
will not be responsible for carrying out such orders and/or instructions.

Notice Regarding Privacy and Confidentiality:  

Robertson Stephens reserves the right to monitor and review the content of
all e-mail communications sent and/or received by its employees.



--


--
DISCLAIMER

Notice Regarding Entry of Orders and Instructions:  

Please do not transmit orders and/or instructions regarding your Robertson
Stephens account(s) by e-mail. Orders and/or instructions transmitted by
e-mail will not be accepted by Robertson Stephens, and Robertson Stephens
will not be responsible for carrying out such orders and/or instructions.

Notice Regarding Privacy and Confidentiality:  

Robertson Stephens reserves the right to monitor and review the content of
all e-mail communications sent and/or received by its employees.



--




Re: User defined object as a request, literal XML as aresponse. Poss ible?!

2001-06-18 Thread Naggi Rao

hi,
Let me know if you need help..
I have a method which accepts a Element(Object) and returns a Literal XML

Naggi


- Original Message -
From: "Hecking, Dirck J" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 1:33 PM
Subject: FW: User defined object as a request, literal XML as aresponse.
Poss ible?!


> Guys,
>
> Can someone please take a shot at my problem?
>
> -Dirck
>
> -Original Message-
> From: Hecking, Dirck J [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 11:13 AM
> To: '[EMAIL PROTECTED]'
> Subject: User defined object as a request, literal XML as a response.
> Poss ible?!
>
>
> Guys,
>
> Dirck here again. I have read several mails regarding this issue. I have
not
> seen one that illustrates my exact problem. The key here is that I want to
> recieve literal xml in my response but want to supply a user defined
object
> as the requesting parameter. This code actually executes the service fine
> and reads the arguements out of my object. The
> response gets lost though, even though I specified literal xml encoding as
> the default encoding for my document. My Apache Soap Service running on
> Weblogic 5.1 has the following characteristics:
>
> Note: The following code is a snippet.
>
> Server:
> public Element getResearch(ResearchArguments args)
> {
>   DocumentBuilderFactory  dbf =
> DocumentBuilderFactory.newInstance();
>   DocumentBuilder xdb = dbf.newDocumentBuilder ();
>   Documentdoc = xdb.newDocument ();
>
>Element researchElement = doc.createElement("Whatever");
>
>  // Extracts fields from the ResearchArguments class and creates a
>  dynamic
>  // research elements based on the information.
>
>  return researchElement;
>  }
>
>  Client:
>  public Element sendRequest()
>  {
>url =   new URL(routerUrl);
>
>  ResearchArguments   args= new
>  ResearchArguments("data1","data2","data3");
>
>SOAPMappingRegistry smr = new SOAPMappingRegistry();
>BeanSerializer  beanSer = new BeanSerializer();
>
>  smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
>  QName("urn:xml-soap-args-demo", "args") , ResearchArguments.class,
> beanSer,
>  beanSer);
>
>call.setTargetObjectURI("urn:" + service);
>call.setMethodName(method);
>call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
>
>call.setSOAPMappingRegistry(smr);
>
>params.addElement(new Parameter("args",
>  ResearchArguments.class,
>  args,
>  Constants.NS_URI_SOAP_ENC));
>
>  call.setParams(params);
>
>  resp = call.invoke(url, "");
>  // A fault gets generated from the server after this line
>  }
>
>  Exception:
>  Generated fault:
>Fault Code   = SOAP-ENV:Server
>Fault String = java.lang.IllegalArgumentException: No Serializer found
> to
>  serialize a 'org.w3c.dom.Element' using encoding style
>  'http://schemas.xmlsoap.org/soap/encoding/'.
>
>  Deployment Descriptor:
>  http://xml.apache.org/xml-soap/deployment";
>   id="urn:HQService">
>  scope="Application"
>methods="getResearch">
>static="false"/>
>  
>
>
>
org.apache.soap.server.DOMFaultListener  r>
>
>  
>encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>   xmlns:x="urn:xml-soap-args-demo" qname="x:args"
>
>  javaType="rs.ecommerce.service.xmlobjects.ResearchArguments"
>
>  java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
>
>  xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
>  
>  
>
>
>
> --
--
> --
> DISCLAIMER
>
> Notice Regarding Entry of Orders and Instructions:
>
> Please do not transmit orders and/or instructions regarding your Robertson
> Stephens account(s) by e-mail. Orders and/or instructions transmitted by
> e-mail will not be accepted by Robertson Stephens, and Robertson Stephens
> will not be responsible for carrying out such orders and/or instructions.
>
> Notice Regarding Privacy and Confidentiality:
>
> Robertson Stephens reserves the right to monitor and review the content of
> all e-mail communications sent and/or received by its employees.
>
>
> --
--
> --
>
> --
--
> --
> DISCLAIMER
>
> Notice Regarding Entry of Orders and Instructions:
>
> Please do not transmit orders and/or instructions regarding your Robertson
> Stephens account(s) by e-mail. Orders and/or instructions transmitted by
> e-mail will not be accepted by Robertson Stephens, and Robertson Stephens
> will not be responsible for carrying out such orders and/or instructions.
>
> Notice Regarding Privacy and Confidentiality:
>
> Robertson Stephens reserves the right to monitor and review the content of
> all e-mail communications sent and/or re

RE: User defined object as a request, literal XML as aresponse. Poss ible?!

2001-06-18 Thread Khamesra, SandeepX

Does any one have any code which returns XML as return value 

-Original Message-
From: Naggi Rao [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 2:01 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: User defined object as a request, literal XML as aresponse.
Poss ible?!


hi,
Let me know if you need help..
I have a method which accepts a Element(Object) and returns a Literal XML

Naggi


- Original Message -
From: "Hecking, Dirck J" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 1:33 PM
Subject: FW: User defined object as a request, literal XML as aresponse.
Poss ible?!


> Guys,
>
> Can someone please take a shot at my problem?
>
> -Dirck
>
> -Original Message-
> From: Hecking, Dirck J [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 11:13 AM
> To: '[EMAIL PROTECTED]'
> Subject: User defined object as a request, literal XML as a response.
> Poss ible?!
>
>
> Guys,
>
> Dirck here again. I have read several mails regarding this issue. I have
not
> seen one that illustrates my exact problem. The key here is that I want to
> recieve literal xml in my response but want to supply a user defined
object
> as the requesting parameter. This code actually executes the service fine
> and reads the arguements out of my object. The
> response gets lost though, even though I specified literal xml encoding as
> the default encoding for my document. My Apache Soap Service running on
> Weblogic 5.1 has the following characteristics:
>
> Note: The following code is a snippet.
>
> Server:
> public Element getResearch(ResearchArguments args)
> {
>   DocumentBuilderFactory  dbf =
> DocumentBuilderFactory.newInstance();
>   DocumentBuilder xdb = dbf.newDocumentBuilder ();
>   Documentdoc = xdb.newDocument ();
>
>Element researchElement = doc.createElement("Whatever");
>
>  // Extracts fields from the ResearchArguments class and creates a
>  dynamic
>  // research elements based on the information.
>
>  return researchElement;
>  }
>
>  Client:
>  public Element sendRequest()
>  {
>url =   new URL(routerUrl);
>
>  ResearchArguments   args= new
>  ResearchArguments("data1","data2","data3");
>
>SOAPMappingRegistry smr = new SOAPMappingRegistry();
>BeanSerializer  beanSer = new BeanSerializer();
>
>  smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
>  QName("urn:xml-soap-args-demo", "args") , ResearchArguments.class,
> beanSer,
>  beanSer);
>
>call.setTargetObjectURI("urn:" + service);
>call.setMethodName(method);
>call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
>
>call.setSOAPMappingRegistry(smr);
>
>params.addElement(new Parameter("args",
>  ResearchArguments.class,
>  args,
>  Constants.NS_URI_SOAP_ENC));
>
>  call.setParams(params);
>
>  resp = call.invoke(url, "");
>  // A fault gets generated from the server after this line
>  }
>
>  Exception:
>  Generated fault:
>Fault Code   = SOAP-ENV:Server
>Fault String = java.lang.IllegalArgumentException: No Serializer found
> to
>  serialize a 'org.w3c.dom.Element' using encoding style
>  'http://schemas.xmlsoap.org/soap/encoding/'.
>
>  Deployment Descriptor:
>  http://xml.apache.org/xml-soap/deployment";
>   id="urn:HQService">
>  scope="Application"
>methods="getResearch">
>static="false"/>
>  
>
>
>
org.apache.soap.server.DOMFaultListener  r>
>
>  
>encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>   xmlns:x="urn:xml-soap-args-demo" qname="x:args"
>
>  javaType="rs.ecommerce.service.xmlobjects.ResearchArguments"
>
>  java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
>
>  xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
>  
>  
>
>
>
> --
--
> --
> DISCLAIMER
>
> Notice Regarding Entry of Orders and Instructions:
>
> Please do not transmit orders and/or instructions regarding your Robertson
> Stephens account(s) by e-mail. Orders and/or instructions transmitted by
> e-mail will not be accepted by Robertson Stephens, and Robertson Stephens
> will not be responsible for carrying out such orders and/or instructions.
>
> Notice Regarding Privacy and Confidentiality:
>
> Robertson Stephens reserves the right to monitor and review the content of
> all e-mail communications sent and/or received by its employees.
>
>
> --
--
> --
>
> --
--
> --
> DISCLAIMER
>
> Notice Regarding Entry of Orders and Instructions:
>
> Please do not transmit orders and/or instructions regarding your Robertson
> Stephens account(s) by e-mail. Orders and/or instructions transmitted by
> e-mail will not be accep

Re: User defined object as a request, literal XML as aresponse. Poss ible?!

2001-06-18 Thread Naggi Rao

public Element getAllListings() in the addressBook example would give u more
insight


- Original Message -
From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 2:09 PM
Subject: RE: User defined object as a request, literal XML as aresponse.
Poss ible?!


> Does any one have any code which returns XML as return value
>
> -Original Message-
> From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 2:01 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> hi,
> Let me know if you need help..
> I have a method which accepts a Element(Object) and returns a Literal XML
>
> Naggi
>
>
> - Original Message -
> From: "Hecking, Dirck J" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, June 18, 2001 1:33 PM
> Subject: FW: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> > Guys,
> >
> > Can someone please take a shot at my problem?
> >
> > -Dirck
> >
> > -Original Message-
> > From: Hecking, Dirck J [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 15, 2001 11:13 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: User defined object as a request, literal XML as a response.
> > Poss ible?!
> >
> >
> > Guys,
> >
> > Dirck here again. I have read several mails regarding this issue. I have
> not
> > seen one that illustrates my exact problem. The key here is that I want
to
> > recieve literal xml in my response but want to supply a user defined
> object
> > as the requesting parameter. This code actually executes the service
fine
> > and reads the arguements out of my object. The
> > response gets lost though, even though I specified literal xml encoding
as
> > the default encoding for my document. My Apache Soap Service running on
> > Weblogic 5.1 has the following characteristics:
> >
> > Note: The following code is a snippet.
> >
> > Server:
> > public Element getResearch(ResearchArguments args)
> > {
> >   DocumentBuilderFactory  dbf =
> > DocumentBuilderFactory.newInstance();
> >   DocumentBuilder xdb = dbf.newDocumentBuilder ();
> >   Documentdoc = xdb.newDocument ();
> >
> >Element researchElement = doc.createElement("Whatever");
> >
> >  // Extracts fields from the ResearchArguments class and creates a
> >  dynamic
> >  // research elements based on the information.
> >
> >  return researchElement;
> >  }
> >
> >  Client:
> >  public Element sendRequest()
> >  {
> >url =   new URL(routerUrl);
> >
> >  ResearchArguments   args= new
> >  ResearchArguments("data1","data2","data3");
> >
> >SOAPMappingRegistry smr = new SOAPMappingRegistry();
> >BeanSerializer  beanSer = new BeanSerializer();
> >
> >  smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
> >  QName("urn:xml-soap-args-demo", "args") , ResearchArguments.class,
> > beanSer,
> >  beanSer);
> >
> >call.setTargetObjectURI("urn:" + service);
> >call.setMethodName(method);
> >call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
> >
> >call.setSOAPMappingRegistry(smr);
> >
> >params.addElement(new Parameter("args",
> >  ResearchArguments.class,
> >  args,
> >  Constants.NS_URI_SOAP_ENC));
> >
> >  call.setParams(params);
> >
> >  resp = call.invoke(url, "");
> >  // A fault gets generated from the server after this line
> >  }
> >
> >  Exception:
> >  Generated fault:
> >Fault Code   = SOAP-ENV:Server
> >Fault String = java.lang.IllegalArgumentException: No Serializer
found
> > to
> >  serialize a 'org.w3c.dom.Element' using encoding style
> >  'http://schemas.xmlsoap.org/soap/encoding/'.
> >
> >  Deployment Descriptor:
> >  http://xml.apache.org/xml-soap/deployment";
> >   id="urn:HQService">
> >   >scope="Application"
> >methods="getResearch">
> >   >  static="false"/>
> >  
> >
> >
> >
>
org.apache.soap.server.DOMFaultListener >  r>
> >
> >  
> >   >  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> >   xmlns:x="urn:xml-soap-args-demo"
qname="x:args"
> >
> >  javaType="rs.ecommerce.service.xmlobjects.ResearchArguments"
> >
> >  java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
> >
> >  xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
> >  
> >  
> >
> >
> >
>
> --
> --
> > --
> > DISCLAIMER
> >
> > Notice Regarding Entry of Orders and Instructions:
> >
> > Please do not transmit orders and/or instructions regarding your
Robertson
> > Stephens account(s) by e-mail. Orders and/or instructions transmitted by
> > e-mail will not be accepted by Robertson Stephens, and Robertson
Stephens
> > will not be responsible for carrying out such orders and/or
instru

RE: User defined object as a request, literal XML as aresponse. Poss ible?!

2001-06-18 Thread Khamesra, SandeepX

Naggi,
I have a sample exactly the same and it gives me an error No serializer
defind What does that mean ?

-Original Message-
From: Naggi Rao [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 2:45 PM
To: [EMAIL PROTECTED]
Subject: Re: User defined object as a request, literal XML as aresponse.
Poss ible?!


public Element getAllListings() in the addressBook example would give u more
insight


- Original Message -
From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 2:09 PM
Subject: RE: User defined object as a request, literal XML as aresponse.
Poss ible?!


> Does any one have any code which returns XML as return value
>
> -Original Message-
> From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 2:01 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> hi,
> Let me know if you need help..
> I have a method which accepts a Element(Object) and returns a Literal XML
>
> Naggi
>
>
> - Original Message -
> From: "Hecking, Dirck J" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, June 18, 2001 1:33 PM
> Subject: FW: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> > Guys,
> >
> > Can someone please take a shot at my problem?
> >
> > -Dirck
> >
> > -Original Message-
> > From: Hecking, Dirck J [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 15, 2001 11:13 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: User defined object as a request, literal XML as a response.
> > Poss ible?!
> >
> >
> > Guys,
> >
> > Dirck here again. I have read several mails regarding this issue. I have
> not
> > seen one that illustrates my exact problem. The key here is that I want
to
> > recieve literal xml in my response but want to supply a user defined
> object
> > as the requesting parameter. This code actually executes the service
fine
> > and reads the arguements out of my object. The
> > response gets lost though, even though I specified literal xml encoding
as
> > the default encoding for my document. My Apache Soap Service running on
> > Weblogic 5.1 has the following characteristics:
> >
> > Note: The following code is a snippet.
> >
> > Server:
> > public Element getResearch(ResearchArguments args)
> > {
> >   DocumentBuilderFactory  dbf =
> > DocumentBuilderFactory.newInstance();
> >   DocumentBuilder xdb = dbf.newDocumentBuilder ();
> >   Documentdoc = xdb.newDocument ();
> >
> >Element researchElement = doc.createElement("Whatever");
> >
> >  // Extracts fields from the ResearchArguments class and creates a
> >  dynamic
> >  // research elements based on the information.
> >
> >  return researchElement;
> >  }
> >
> >  Client:
> >  public Element sendRequest()
> >  {
> >url =   new URL(routerUrl);
> >
> >  ResearchArguments   args= new
> >  ResearchArguments("data1","data2","data3");
> >
> >SOAPMappingRegistry smr = new SOAPMappingRegistry();
> >BeanSerializer  beanSer = new BeanSerializer();
> >
> >  smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
> >  QName("urn:xml-soap-args-demo", "args") , ResearchArguments.class,
> > beanSer,
> >  beanSer);
> >
> >call.setTargetObjectURI("urn:" + service);
> >call.setMethodName(method);
> >call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
> >
> >call.setSOAPMappingRegistry(smr);
> >
> >params.addElement(new Parameter("args",
> >  ResearchArguments.class,
> >  args,
> >  Constants.NS_URI_SOAP_ENC));
> >
> >  call.setParams(params);
> >
> >  resp = call.invoke(url, "");
> >  // A fault gets generated from the server after this line
> >  }
> >
> >  Exception:
> >  Generated fault:
> >Fault Code   = SOAP-ENV:Server
> >Fault String = java.lang.IllegalArgumentException: No Serializer
found
> > to
> >  serialize a 'org.w3c.dom.Element' using encoding style
> >  'http://schemas.xmlsoap.org/soap/encoding/'.
> >
> >  Deployment Descriptor:
> >  http://xml.apache.org/xml-soap/deployment";
> >   id="urn:HQService">
> >   >scope="Application"
> >methods="getResearch">
> >   >  static="false"/>
> >  
> >
> >
> >
>
org.apache.soap.server.DOMFaultListener >  r>
> >
> >  
> >   >  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> >   xmlns:x="urn:xml-soap-args-demo"
qname="x:args"
> >
> >  javaType="rs.ecommerce.service.xmlobjects.ResearchArguments"
> >
> >  java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
> >
> >  xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
> >  
> >  
> >
> >
> >
>
> --
> --
> > --
> > DISCLAIMER
> >
> > Notice Regarding Entry of Orders an

Re: User defined object as a request, literal XML as aresponse. Poss ible?!

2001-06-18 Thread Naggi Rao

..OK I guess Scott had helped me with that...
I donot know how you are accessing the webServices..
if you are using Java Code ..then make sure ur client has :

call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);


Here's my generated XML (Request..)

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\>

http://xml.apache.org/xml-soap/literalxml>;
http://xml.apache.org/xml-soap/literalxml\>


...


I am communicating with IIS and hence my client call is'nt java

It might be a bit different since I am (still) using a very ancient version
of SOAP (the one which was bundled with WLS 6.0)

Cheers,
Naggi





- Original Message -
From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 2:56 PM
Subject: RE: User defined object as a request, literal XML as aresponse.
Poss ible?!


> Naggi,
> I have a sample exactly the same and it gives me an error No serializer
> defind What does that mean ?
>
> -Original Message-
> From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 2:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> public Element getAllListings() in the addressBook example would give u
more
> insight
>
>
> - Original Message -
> From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, June 18, 2001 2:09 PM
> Subject: RE: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> > Does any one have any code which returns XML as return value
> >
> > -Original Message-
> > From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 18, 2001 2:01 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: User defined object as a request, literal XML as aresponse.
> > Poss ible?!
> >
> >
> > hi,
> > Let me know if you need help..
> > I have a method which accepts a Element(Object) and returns a Literal
XML
> >
> > Naggi
> >
> >
> > - Original Message -
> > From: "Hecking, Dirck J" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Monday, June 18, 2001 1:33 PM
> > Subject: FW: User defined object as a request, literal XML as aresponse.
> > Poss ible?!
> >
> >
> > > Guys,
> > >
> > > Can someone please take a shot at my problem?
> > >
> > > -Dirck
> > >
> > > -Original Message-
> > > From: Hecking, Dirck J [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, June 15, 2001 11:13 AM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: User defined object as a request, literal XML as a response.
> > > Poss ible?!
> > >
> > >
> > > Guys,
> > >
> > > Dirck here again. I have read several mails regarding this issue. I
have
> > not
> > > seen one that illustrates my exact problem. The key here is that I
want
> to
> > > recieve literal xml in my response but want to supply a user defined
> > object
> > > as the requesting parameter. This code actually executes the service
> fine
> > > and reads the arguements out of my object. The
> > > response gets lost though, even though I specified literal xml
encoding
> as
> > > the default encoding for my document. My Apache Soap Service running
on
> > > Weblogic 5.1 has the following characteristics:
> > >
> > > Note: The following code is a snippet.
> > >
> > > Server:
> > > public Element getResearch(ResearchArguments args)
> > > {
> > >   DocumentBuilderFactory  dbf =
> > > DocumentBuilderFactory.newInstance();
> > >   DocumentBuilder xdb = dbf.newDocumentBuilder ();
> > >   Documentdoc = xdb.newDocument ();
> > >
> > >Element researchElement = doc.createElement("Whatever");
> > >
> > >  // Extracts fields from the ResearchArguments class and creates a
> > >  dynamic
> > >  // research elements based on the information.
> > >
> > >  return researchElement;
> > >  }
> > >
> > >  Client:
> > >  public Element sendRequest()
> > >  {
> > >url =   new URL(routerUrl);
> > >
> > >  ResearchArguments   args= new
> > >  ResearchArguments("data1","data2","data3");
> > >
> > >SOAPMappingRegistry smr = new SOAPMappingRegistry();
> > >BeanSerializer  beanSer = new BeanSerializer();
> > >
> > >  smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
> > >  QName("urn:xml-soap-args-demo", "args") , ResearchArguments.class,
> > > beanSer,
> > >  beanSer);
> > >
> > >call.setTargetObjectURI("urn:" + service);
> > >call.setMethodName(method);
> > >call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
> > >
> > >call.setSOAPMappingRegistry(smr);
> > >
> > >params.addElement(new Parameter("args",
> > >  ResearchArguments.class,
> > >  args,
> > >  Constants.NS_URI_SOAP_ENC));
> > >
> > >  call.setParams(params);
> > >
> > >  resp = call.invoke(url, "");
> > >  // A fault gets gener

problem with the build of the src dist for soap 2.2

2001-06-18 Thread Rich Catlett

I just downloaded the source version, and the build process has a few
problems.  After getting all of the requisite jar files, and getting the
dependencies right, I did a build dist.  The build script chockes when it
tries to do the samples target.  There is no samples directory.  After
looking around I discovered that the soap version 1.2 source distribution
had a samples directory, as well as the soap version 2.2 binary
distribution.  I copied the samples dir from the binary distribution and
tried to build dist again.  It chocked again when it couldn't find a docs
or a webapps directory.  End result is that I think you source
distribution for soap 2.2 is missing a few things.


-
Rich Catlett[EMAIL PROTECTED] |  Confuscious say "Man who stand |
Programmer|   on toilet, high on pot!"  |
  | |
-




RE: User defined object as a request, literal XML as aresponse. Poss ible?!

2001-06-18 Thread Khamesra, SandeepX

u are correct.. I was not using the NS_URI_LITERAL_XML.. 
Where can I get more info. regarding this ?

-Original Message-
From: Naggi Rao [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 3:15 PM
To: [EMAIL PROTECTED]
Subject: Re: User defined object as a request, literal XML as aresponse.
Poss ible?!


..OK I guess Scott had helped me with that...
I donot know how you are accessing the webServices..
if you are using Java Code ..then make sure ur client has :

call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);


Here's my generated XML (Request..)

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\>

http://xml.apache.org/xml-soap/literalxml>;
http://xml.apache.org/xml-soap/literalxml\>


...


I am communicating with IIS and hence my client call is'nt java

It might be a bit different since I am (still) using a very ancient version
of SOAP (the one which was bundled with WLS 6.0)

Cheers,
Naggi





- Original Message -
From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 2:56 PM
Subject: RE: User defined object as a request, literal XML as aresponse.
Poss ible?!


> Naggi,
> I have a sample exactly the same and it gives me an error No serializer
> defind What does that mean ?
>
> -Original Message-
> From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 2:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> public Element getAllListings() in the addressBook example would give u
more
> insight
>
>
> - Original Message -
> From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, June 18, 2001 2:09 PM
> Subject: RE: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> > Does any one have any code which returns XML as return value
> >
> > -Original Message-
> > From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 18, 2001 2:01 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: User defined object as a request, literal XML as aresponse.
> > Poss ible?!
> >
> >
> > hi,
> > Let me know if you need help..
> > I have a method which accepts a Element(Object) and returns a Literal
XML
> >
> > Naggi
> >
> >
> > - Original Message -
> > From: "Hecking, Dirck J" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Monday, June 18, 2001 1:33 PM
> > Subject: FW: User defined object as a request, literal XML as aresponse.
> > Poss ible?!
> >
> >
> > > Guys,
> > >
> > > Can someone please take a shot at my problem?
> > >
> > > -Dirck
> > >
> > > -Original Message-
> > > From: Hecking, Dirck J [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, June 15, 2001 11:13 AM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: User defined object as a request, literal XML as a response.
> > > Poss ible?!
> > >
> > >
> > > Guys,
> > >
> > > Dirck here again. I have read several mails regarding this issue. I
have
> > not
> > > seen one that illustrates my exact problem. The key here is that I
want
> to
> > > recieve literal xml in my response but want to supply a user defined
> > object
> > > as the requesting parameter. This code actually executes the service
> fine
> > > and reads the arguements out of my object. The
> > > response gets lost though, even though I specified literal xml
encoding
> as
> > > the default encoding for my document. My Apache Soap Service running
on
> > > Weblogic 5.1 has the following characteristics:
> > >
> > > Note: The following code is a snippet.
> > >
> > > Server:
> > > public Element getResearch(ResearchArguments args)
> > > {
> > >   DocumentBuilderFactory  dbf =
> > > DocumentBuilderFactory.newInstance();
> > >   DocumentBuilder xdb = dbf.newDocumentBuilder ();
> > >   Documentdoc = xdb.newDocument ();
> > >
> > >Element researchElement = doc.createElement("Whatever");
> > >
> > >  // Extracts fields from the ResearchArguments class and creates a
> > >  dynamic
> > >  // research elements based on the information.
> > >
> > >  return researchElement;
> > >  }
> > >
> > >  Client:
> > >  public Element sendRequest()
> > >  {
> > >url =   new URL(routerUrl);
> > >
> > >  ResearchArguments   args= new
> > >  ResearchArguments("data1","data2","data3");
> > >
> > >SOAPMappingRegistry smr = new SOAPMappingRegistry();
> > >BeanSerializer  beanSer = new BeanSerializer();
> > >
> > >  smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
> > >  QName("urn:xml-soap-args-demo", "args") , ResearchArguments.class,
> > > beanSer,
> > >  beanSer);
> > >
> > >call.setTargetObjectURI("urn:" + service);
> > >call.setMethodName(method);
> > >call.setEncodingStyleURI(Constants.NS_

Re: User defined object as a request, literal XML as aresponse. Poss ible?!

2001-06-18 Thread Naggi Rao

A Lot is in the specifications..
Also at xml.apache.org
And at :
http://vsys-www.informatik.uni-hamburg.de/documents/docs/soap21/docs/faq.htm
l

But the best resource is the SOAP Engine's Source code..

Cheers,
Naggi

- Original Message -
From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 3:42 PM
Subject: RE: User defined object as a request, literal XML as aresponse.
Poss ible?!


> u are correct.. I was not using the NS_URI_LITERAL_XML..
> Where can I get more info. regarding this ?
>
> -Original Message-
> From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 3:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> ..OK I guess Scott had helped me with that...
> I donot know how you are accessing the webServices..
> if you are using Java Code ..then make sure ur client has :
>
> call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
>
>
> Here's my generated XML (Request..)
>
>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
> xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\>
> 
>  SOAP-ENV:encodingStyle=http://xml.apache.org/xml-soap/literalxml>;
>  SOAP-ENV:encodingStyle=
>
> 
> ...
> 
> 
> I am communicating with IIS and hence my client call is'nt java
>
> It might be a bit different since I am (still) using a very ancient
version
> of SOAP (the one which was bundled with WLS 6.0)
>
> Cheers,
> Naggi
>
>
>
>
>
> - Original Message -
> From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 18, 2001 2:56 PM
> Subject: RE: User defined object as a request, literal XML as aresponse.
> Poss ible?!
>
>
> > Naggi,
> > I have a sample exactly the same and it gives me an error No serializer
> > defind What does that mean ?
> >
> > -Original Message-
> > From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 18, 2001 2:45 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: User defined object as a request, literal XML as aresponse.
> > Poss ible?!
> >
> >
> > public Element getAllListings() in the addressBook example would give u
> more
> > insight
> >
> >
> > - Original Message -
> > From: "Khamesra, SandeepX" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Monday, June 18, 2001 2:09 PM
> > Subject: RE: User defined object as a request, literal XML as aresponse.
> > Poss ible?!
> >
> >
> > > Does any one have any code which returns XML as return value
> > >
> > > -Original Message-
> > > From: Naggi Rao [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, June 18, 2001 2:01 PM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: Re: User defined object as a request, literal XML as
aresponse.
> > > Poss ible?!
> > >
> > >
> > > hi,
> > > Let me know if you need help..
> > > I have a method which accepts a Element(Object) and returns a Literal
> XML
> > >
> > > Naggi
> > >
> > >
> > > - Original Message -
> > > From: "Hecking, Dirck J" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > > Sent: Monday, June 18, 2001 1:33 PM
> > > Subject: FW: User defined object as a request, literal XML as
aresponse.
> > > Poss ible?!
> > >
> > >
> > > > Guys,
> > > >
> > > > Can someone please take a shot at my problem?
> > > >
> > > > -Dirck
> > > >
> > > > -Original Message-
> > > > From: Hecking, Dirck J [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, June 15, 2001 11:13 AM
> > > > To: '[EMAIL PROTECTED]'
> > > > Subject: User defined object as a request, literal XML as a
response.
> > > > Poss ible?!
> > > >
> > > >
> > > > Guys,
> > > >
> > > > Dirck here again. I have read several mails regarding this issue. I
> have
> > > not
> > > > seen one that illustrates my exact problem. The key here is that I
> want
> > to
> > > > recieve literal xml in my response but want to supply a user defined
> > > object
> > > > as the requesting parameter. This code actually executes the service
> > fine
> > > > and reads the arguements out of my object. The
> > > > response gets lost though, even though I specified literal xml
> encoding
> > as
> > > > the default encoding for my document. My Apache Soap Service running
> on
> > > > Weblogic 5.1 has the following characteristics:
> > > >
> > > > Note: The following code is a snippet.
> > > >
> > > > Server:
> > > > public Element getResearch(ResearchArguments args)
> > > > {
> > > >   DocumentBuilderFactory  dbf =
> > > > DocumentBuilderFactory.newInstance();
> > > >   DocumentBuilder xdb = dbf.newDocumentBuilder ();
> > > >   Documentdoc = xdb.newDocument ();
> > > >
> > > >Element researchElement = doc.createElement("Whatever");
> > > >
> > > >  // Extracts fields from the ResearchArguments class and creat

Help: SMTP over SOAP

2001-06-18 Thread Shahid Ahmad




Has anyone managed to get the GetQuoteSMTP sample 
to work?