From soaptaylorsarah@example.com Wed Jan 01 17:55:47 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 74929 invoked by uid 500); 1 Jan 2003 17:55:45 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 74899 invoked from network); 1 Jan 2003 17:55:44 -0000 Received: from mta07-svc.ntlworld.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Jan 2003 17:55:44 -0000 Received: from dave ([83.161.120.155]) by mta07-svc.ntlworld.com (InterMail vM.83.161.120.155 201-229-121-127-20010626) with ESMTP id <20030101175546.OSJP9037.mta07-svc.ntlworld.com@dave> for <taylorsarah@example.com>; Wed, 1 Jan 2003 17:55:46 +0000 From: "Dave Searle" <taylorsarah@example.com> To: <taylorsarah@example.com> Subject: Attachments Tutorials Date: Wed, 1 Jan 2003 17:53:24 -0000 Message-ID: <taylorsarah@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: <taylorsarah@example.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All, Happy new year.... Does any one know of tutorials that talk about using Attachments with SOAP, apart from this one: http://soapagent.com/cgi-bin/jump.cgi?ID=342 Cheers, Dave -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 09:31:22 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 80685 invoked by uid 500); 2 Jan 2003 09:31:21 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 80674 invoked from network); 2 Jan 2003 09:31:20 -0000 Received: from ip66-105-140-66.z140-105-66.customer.algx.net (HELO kmgnt2.kmgin.com) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 09:31:20 -0000 Subject: PL HELP ME... URGENT HELP REQUIRED To: taylorsarah@example.com X-Mailer: Lotus Notes Release 5.0.1a (Intl) 17 August 1999 Message-ID: <taylorsarah@example.com> From: taylorsarah@example.com Date: Thu, 8 Aug 2002 15:07:37 +0530 X-MIMETrack: Serialize by Router on kmgnt2/KMGI(Release 5.0.11 |July 24, 2002) at 01/02/2003 04:37:40 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello ALL I am connecting wsdl ( weblogic6.1) using .net and getting this error ........ any help will be appreciated ........ Thanx kind regrd raky SoapMapper:The schema definition with a targetnamespace of http://xml.apache.org/xml-soap for SoapMapper Vector could not be found HRESULT=0x80004005: Unspecified error - SoapMapper:The SoapMapper for element Vector could not be created HRESULT=0x80004005: Unspecified error - WSDLOperation:Initialization of a SoapMapper for operation getEMPLFavProducer failed HRESULT=0x80004005: Unspecified error - WSDLOperation:Initializing of the output message failed for operation getEMPLFavProducer HRESULT=0x80004005: Unspecified error - WSDLPort:An operation for port InsuranceOrganizationServiceRMIPort could not be initialized HRESULT=0x80004005: Unspecified error - WSDLPort:Analyzing the binding information for port InsuranceOrganizationServiceRMIPort failed HRESULT=0x80004005: Unspecified error - WSDLService:Initialization of the port for service InsuranceOrganizationServiceRMIService failed HRESULT=0x80004005: Unspecified error - WSDLReader:Analyzing the WSDL file failed HRESULT=0x80004005: Unspecified error - Client: One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 15:08:35 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 88551 invoked by uid 500); 2 Jan 2003 15:08:35 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 88540 invoked from network); 2 Jan 2003 15:08:34 -0000 Received: from imo-r09.mx.aol.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 15:08:34 -0000 Received: from taylorsarah@example.com by imo-r09.mx.aol.com (mail_out_v34.13.) id y.49.28cfa091 (5708) for <taylorsarah@example.com>; Thu, 2 Jan 2003 10:07:53 -0500 (EST) Received: from aol.com ([83.161.120.155]) by air-id04.mx.aol.com (v89.12) with ESMTP id MAILINID41-0102100753; Thu, 02 Jan 2003 10:07:53 1900 Message-ID: <taylorsarah@example.com> Date: Thu, 02 Jan 2003 15:07:41 +0000 From: Jack Byrne <taylorsarah@example.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: taylorsarah@example.com Subject: Cannot find trusted certificate when using SOAP/HTTPS Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I am trying to access an external site using SOAP and HTTPS. I am getting the following exception: As I am trying to access a Remote Server, do I need its certificate (I presume Public Key) to access the remote site. I have written a SOAP Client (using the autogenerated bindings from WSDL2Java in Axis). It appears that my Exception is happening before any request is made to the Remote SOAP Server which leads me to beleive I need some sort of certificate on the SOAP Client side in order to access the SOAP Service. All help on next steps are appreciated AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: javax.net.ssl.SSLHandshakeException: java.security.cert.Certificat eException: Couldn't find trusted certificate faultActor: null faultDetail: stackTrace: javax.net.ssl.SSLHandshakeException: java.security.cert.Cert ificateException: Couldn't find trusted taylorsarah@example.com(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275) at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac tory.java:244) at org.apache.axis.transport.http.HTTPSender.getSecureSocket(HTTPSender. java:156) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:116) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg y.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2113) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at finger.ws.FingerSoapBindingStub.fingerGet(FingerSoapBindingStub.java: 201) at SOAPFingerClient.main(SOAPFingerClient.java:21) Caused by: java.security.cert.CertificateException: Couldn't find trusted certif taylorsarah@example.com(DashoA6275) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted( DashoA6275) at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted( DashoA6275) ... 20 more -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 15:23:28 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 97880 invoked by uid 500); 2 Jan 2003 15:23:27 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 97868 invoked from network); 2 Jan 2003 15:23:26 -0000 Received: from smtp.comcast.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 15:23:26 -0000 Received: from fastdata (pcp01349834pcs.lowmrn01.pa.comcast.net [83.161.120.155]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with SMTP id <taylorsarah@example.com> for taylorsarah@example.com; Thu, 02 Jan 2003 10:23:01 -0500 (EST) Date: Thu, 02 Jan 2003 10:28:24 -0500 From: Scott Nichol <taylorsarah@example.com> Subject: Re: PL HELP ME... URGENT HELP REQUIRED To: taylorsarah@example.com Message-id: <007601c2b273$973ce9d0$c900a8c0@fastdata> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Mailer: Microsoft Outlook Express 5.50.4920.2300 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <taylorsarah@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In addition to mappings for XML Schema types, Apache SOAP (and possibly Axis, too) provides implicit mappings for some Java types (such as Vector and Hashtable). Unlike the XML Schema types, however, there is no standard XML type for these Java types, so Apache SOAP uses its own custom types. In your case, it appears you are using a Java Vector for a parameter. Probably no non-Apache SOAP implementation will have a built-in type mapping for this, so errors like the one you get are expected. Since you are using WSDL, the way to resolve this is to add a definition for the Vector type in the http://xml.apache.org/xml-soap namespace in a schema in your WSDL. Scott Nichol ----- Original Message ----- From: <taylorsarah@example.com> To: <taylorsarah@example.com> Sent: Thursday, August 08, 2002 4:37 AM Subject: PL HELP ME... URGENT HELP REQUIRED > Hello ALL > > > I am connecting wsdl ( weblogic6.1) using .net and getting this error > ........ > any help will be appreciated ........ > > > > Thanx > > kind regrd > raky > > > > > > > > SoapMapper:The schema definition with a targetnamespace of > http://xml.apache.org/xml-soap for SoapMapper Vector could not be found > HRESULT=0x80004005: Unspecified error - SoapMapper:The SoapMapper for > element Vector could not be created HRESULT=0x80004005: Unspecified error - > WSDLOperation:Initialization of a SoapMapper for operation > getEMPLFavProducer failed HRESULT=0x80004005: Unspecified error - > WSDLOperation:Initializing of the output message failed for operation > getEMPLFavProducer HRESULT=0x80004005: Unspecified error - WSDLPort:An > operation for port InsuranceOrganizationServiceRMIPort could not be > initialized HRESULT=0x80004005: Unspecified error - WSDLPort:Analyzing the > binding information for port InsuranceOrganizationServiceRMIPort failed > HRESULT=0x80004005: Unspecified error - WSDLService:Initialization of the > port for service InsuranceOrganizationServiceRMIService failed > HRESULT=0x80004005: Unspecified error - WSDLReader:Analyzing the WSDL file > failed HRESULT=0x80004005: Unspecified error - Client: > One of the parameters supplied is invalid. HRESULT=0x80070057: The > parameter is incorrect > > > > -- > To unsubscribe, e-mail: <mailto:taylorsarah@example.com> > For additional commands, e-mail: <mailto:taylorsarah@example.com> > > -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 15:26:10 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 99918 invoked by uid 500); 2 Jan 2003 15:26:10 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 99907 invoked from network); 2 Jan 2003 15:26:10 -0000 Received: from smtp.comcast.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 15:26:10 -0000 Received: from fastdata (pcp01349834pcs.lowmrn01.pa.comcast.net [83.161.120.155]) by mtaout06.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with SMTP id <taylorsarah@example.com> for taylorsarah@example.com; Thu, 02 Jan 2003 10:24:52 -0500 (EST) Date: Thu, 02 Jan 2003 10:30:15 -0500 From: Scott Nichol <taylorsarah@example.com> Subject: Re: PL HELP ME... URGENT HELP REQUIRED To: taylorsarah@example.com Message-id: <007c01c2b273$d987bd10$c900a8c0@fastdata> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Mailer: Microsoft Outlook Express 5.50.4920.2300 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Or, if it is an option, consider using an array for the parameter rather than a Vector. Besides being more interoperable (arrays are defined in the SOAP spec), you can declare data types more explicitly with arrays, since they allow you to specify the data type of the elements, whereas you cannot do this with a Vector. Scott Nichol ----- Original Message ----- From: "Scott Nichol" <taylorsarah@example.com> To: <taylorsarah@example.com> Sent: Thursday, January 02, 2003 10:28 AM Subject: Re: PL HELP ME... URGENT HELP REQUIRED > In addition to mappings for XML Schema types, Apache SOAP (and possibly > Axis, too) provides implicit mappings for some Java types (such as > Vector and Hashtable). Unlike the XML Schema types, however, there is > no standard XML type for these Java types, so Apache SOAP uses its own > custom types. In your case, it appears you are using a Java Vector for > a parameter. Probably no non-Apache SOAP implementation will have a > built-in type mapping for this, so errors like the one you get are > expected. > > Since you are using WSDL, the way to resolve this is to add a definition > for the Vector type in the http://xml.apache.org/xml-soap namespace in a > schema in your WSDL. > > Scott Nichol > > ----- Original Message ----- > From: <taylorsarah@example.com> > To: <taylorsarah@example.com> > Sent: Thursday, August 08, 2002 4:37 AM > Subject: PL HELP ME... URGENT HELP REQUIRED > > > > Hello ALL > > > > > > I am connecting wsdl ( weblogic6.1) using .net and getting this error > > ........ > > any help will be appreciated ........ > > > > > > > > Thanx > > > > kind regrd > > raky > > > > > > > > > > > > > > > > SoapMapper:The schema definition with a targetnamespace of > > http://xml.apache.org/xml-soap for SoapMapper Vector could not be > found > > HRESULT=0x80004005: Unspecified error - SoapMapper:The SoapMapper for > > element Vector could not be created HRESULT=0x80004005: Unspecified > error - > > WSDLOperation:Initialization of a SoapMapper for operation > > getEMPLFavProducer failed HRESULT=0x80004005: Unspecified error - > > WSDLOperation:Initializing of the output message failed for operation > > getEMPLFavProducer HRESULT=0x80004005: Unspecified error - WSDLPort:An > > operation for port InsuranceOrganizationServiceRMIPort could not be > > initialized HRESULT=0x80004005: Unspecified error - WSDLPort:Analyzing > the > > binding information for port InsuranceOrganizationServiceRMIPort > failed > > HRESULT=0x80004005: Unspecified error - WSDLService:Initialization of > the > > port for service InsuranceOrganizationServiceRMIService failed > > HRESULT=0x80004005: Unspecified error - WSDLReader:Analyzing the WSDL > file > > failed HRESULT=0x80004005: Unspecified error - Client: > > One of the parameters supplied is invalid. HRESULT=0x80070057: The > > parameter is incorrect > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:taylorsarah@example.com> > > For additional commands, e-mail: > <mailto:taylorsarah@example.com> > > > > > -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 15:48:29 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 13579 invoked by uid 500); 2 Jan 2003 15:48:28 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 13568 invoked from network); 2 Jan 2003 15:48:28 -0000 Received: from smtp.comcast.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 15:48:28 -0000 Received: from fastdata (pcp01349834pcs.lowmrn01.pa.comcast.net [83.161.120.155]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with SMTP id <taylorsarah@example.com> for taylorsarah@example.com; Thu, 02 Jan 2003 10:47:26 -0500 (EST) Date: Thu, 02 Jan 2003 10:52:49 -0500 From: Scott Nichol <taylorsarah@example.com> Subject: Re: Cannot find trusted certificate when using SOAP/HTTPS To: taylorsarah@example.com Message-id: <011801c2b277$0043c950$c900a8c0@fastdata> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Mailer: Microsoft Outlook Express 5.50.4920.2300 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <taylorsarah@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jack, Please post Axis questions to taylorsarah@example.com. Thanks. Scott Nichol ----- Original Message ----- From: "Jack Byrne" <taylorsarah@example.com> To: <taylorsarah@example.com> Sent: Thursday, January 02, 2003 10:07 AM Subject: Cannot find trusted certificate when using SOAP/HTTPS > Hello, > > I am trying to access an external site using SOAP and HTTPS. > > I am getting the following exception: > > As I am trying to access a Remote Server, do I need its certificate (I > presume Public Key) to access the remote site. > I have written a SOAP Client (using the autogenerated bindings from > WSDL2Java in Axis). It appears that my Exception is happening > before any request is made to the Remote SOAP Server which leads me to > beleive I need some sort of certificate on the SOAP Client > side in order to access the SOAP Service. > > All help on next steps are appreciated > > AxisFault > faultCode: {http://xml.apache.org/axis/}Server.userException > faultString: javax.net.ssl.SSLHandshakeException: > java.security.cert.Certificat > eException: Couldn't find trusted certificate > faultActor: null > faultDetail: > stackTrace: javax.net.ssl.SSLHandshakeException: > java.security.cert.Cert > ificateException: Couldn't find trusted certificate > at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275) > at > org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac > tory.java:244) > at > org.apache.axis.transport.http.HTTPSender.getSecureSocket(HTTPSender. > java:156) > at > org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:116) > at > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg > y.java:71) > at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) > at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) > at org.apache.axis.client.Call.invokeEngine(Call.java:2113) > at org.apache.axis.client.Call.invoke(Call.java:2102) > at org.apache.axis.client.Call.invoke(Call.java:1851) > at org.apache.axis.client.Call.invoke(Call.java:1777) > at org.apache.axis.client.Call.invoke(Call.java:1315) > at > finger.ws.FingerSoapBindingStub.fingerGet(FingerSoapBindingStub.java: > 201) > at SOAPFingerClient.main(SOAPFingerClient.java:21) > Caused by: java.security.cert.CertificateException: Couldn't find > trusted certif > icate > at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275) > at > com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted( > DashoA6275) > at > com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted( > DashoA6275) > ... 20 more > > > > > -- > To unsubscribe, e-mail: <mailto:taylorsarah@example.com> > For additional commands, e-mail: <mailto:taylorsarah@example.com> > > -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 16:54:00 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 56010 invoked by uid 500); 2 Jan 2003 16:53:59 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 55999 invoked from network); 2 Jan 2003 16:53:59 -0000 Received: from hqvsbh1.ms.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 16:53:59 -0000 Received: from hqvsbh1.ms.com (localhost [83.161.120.155]) by localhost.ms.com (Postfix) with SMTP id CE99E202EA for <taylorsarah@example.com>; Thu, 2 Jan 2003 11:54:01 -0500 (EST) Received: from pimail3.ms.com (unknown [83.161.120.155]) by hqvsbh1.ms.com (internal Postfix) with ESMTP id B47B320055 for <taylorsarah@example.com>; Thu, 2 Jan 2003 11:54:01 -0500 (EST) Received: from morganstanley.com (dynamic-198-187-14-155 [83.161.120.155]) by pimail3.ms.com (Sendmail MTA Hub) with ESMTP id h02Gs1v01200 for <taylorsarah@example.com>; Thu, 2 Jan 2003 11:54:01 -0500 (EST) Message-ID: <taylorsarah@example.com> Date: Thu, 02 Jan 2003 11:54:01 -0500 From: Vijay Shinde <taylorsarah@example.com> Reply-To: taylorsarah@example.com Organization: Morgan Stanley X-Mailer: Mozilla 4.76 [en]C-CCK-MCD MS4.76 V20010517.3 (WinNT; U) X-Accept-Language: en,ja MIME-Version: 1.0 To: taylorsarah@example.com Subject: SOAP - method return Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am doing LDAP call using soap .I want to return Hashtable from my method call. On my client site I am using following code to get my hashtable. Response resp = call.invoke(url, ""); Parameter p = resp.getReturnValue(); Hashtable values = (Hashtable)p.getValue(); I am getting following exception. The SOAP Server says: http://localhost:8080/soap/servlet/rpcrouterException in t hread "main" java.lang.NullPointerException at LDAP_client.main(LDAP_client.java:36) any help will be useful. Vijay -- This communication is intended for the addressee(s) and may contain confidential and legally privileged information. We do not waive confidentiality or privilege by mistransmission. If you have received this communication in error, any use, dissemination, printing or copying is strictly prohibited; please destroy all electronic and paper copies and notify the sender immediately. -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 17:05:19 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 62936 invoked by uid 500); 2 Jan 2003 17:05:18 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 62925 invoked from network); 2 Jan 2003 17:05:17 -0000 Received: from smtp.comcast.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 17:05:17 -0000 Received: from fastdata (pcp01349834pcs.lowmrn01.pa.comcast.net [83.161.120.155]) by mtaout05.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with SMTP id <taylorsarah@example.com> for taylorsarah@example.com; Thu, 02 Jan 2003 12:01:06 -0500 (EST) Date: Thu, 02 Jan 2003 12:06:29 -0500 From: Scott Nichol <taylorsarah@example.com> Subject: Re: Using SOAP + HTTP as a client within tomcat. To: taylorsarah@example.com Message-id: <047801c2b281$4b15f250$c900a8c0@fastdata> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Mailer: Microsoft Outlook Express 5.50.4920.2300 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <taylorsarah@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have barely used SSL with Apache SOAP, but since no one else seems to be chiming in, I'll throw in a couple of thoughts. First, the SSL docs distributed with Apache SOAP are specifically form Tomcat at http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/ FAQ_Tomcat_SOAP_SSL.html?rev=HEAD&content-type=text/html. Unfortunately, this is old and may be out of date in some important places. Second, since you are using SSL for SOAP client within Tomcat, it is not totally clear whether you should care about the Tomcat or client configuration. My best guess would be that you can ignore the Tomcat SSL configuration and concentrate on the SOAP client configuration. Third, the docs talk about importing a certificate, not a public key. This is an area in which I have no detailed understanding, but it is certainly a difference between your description and the docs, and your stack dump specifically says the certificate is not found. When I boil down the docs, it seems to me like you want to import the certificate into a keystore, then be certain that the keystore in question is the one used by your code (by setting the system property javax.net.ssl.trustStore). With that accomplished, I would not expect you to get the error you are getting. Good luck, and when you resolve this, it would be great if you could post the resolution to this list so the next poor soul in your situation can benefit from your pain. Scott Nichol ----- Original Message ----- From: "Sean McCauliff" <taylorsarah@example.com> To: <taylorsarah@example.com> Sent: Tuesday, December 31, 2002 6:41 PM Subject: Using SOAP + HTTP as a client within tomcat. > I get the following error message: > > > SOAPException: faultCode=SOAP-ENV:Cl > ient; msg=Error opening socket: javax.net.ssl.SSLHandshakeException: > java.security.cert. > CertificateException: Couldn&amp;apos;t find trusted certificate; > targetException=java.l > ang.IllegalArgumentException: Error opening socket: > javax.net.ssl.SSLHandshakeException: > java.security.cert.CertificateException: Couldn&apos;t find trusted > certificate > > I have added the server's public key to /root/.keystore and to > tomcat/conf/keystore and this still happens. Any ideas? > > Thanks, > Sean > > > > > -- > To unsubscribe, e-mail: <mailto:taylorsarah@example.com> > For additional commands, e-mail: <mailto:taylorsarah@example.com> > > -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 17:20:24 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 75464 invoked by uid 500); 2 Jan 2003 17:20:24 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 75453 invoked from network); 2 Jan 2003 17:20:23 -0000 Received: from ip66-105-140-66.z140-105-66.customer.algx.net (HELO kmgnt2.kmgin.com) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 17:20:23 -0000 Subject: Re: PL HELP ME... URGENT HELP REQUIRED To: taylorsarah@example.com X-Mailer: Lotus Notes Release 5.0.1a (Intl) 17 August 1999 Message-ID: <taylorsarah@example.com> From: taylorsarah@example.com Date: Thu, 8 Aug 2002 22:56:26 +0530 X-MIMETrack: Serialize by Router on kmgnt2/KMGI(Release 5.0.11 |July 24, 2002) at 01/02/2003 12:26:33 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Scott Nichol Thanx for ur help last time also u have helped for parsers.. well i have 4 wsdl for one class i am facing problem where and how to mention path for xsd any help will be appreciated TONS of thanx Kind regrds raky i have stored all files wsdl and xsd under " kmg.wsdl" directory below are little part of wsdl .. InsuranceOrganizationServiceRMI <?xml version="1.0" encoding="UTF-8"?> <definitions name="InsuranceOrganizationServiceRMI" targetNamespace="http://kmg.wsdl/InsuranceOrganizationServiceRMI/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://kmg.wsdl/InsuranceOrganizationServiceRMI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://kmg.wsdl/" xmlns:xsd2="http://xml.apache.org/xml-soap" xmlns:xsd3="http://kmg.wsdl/" xmlns:xsd4="http://kmg.wsdl/" xmlns:xsd5="http://kmg.wsdl/" xmlns:xsd6="http://kmg.wsdl/" xmlns:xsd7="http://kmg.wsdl/" xmlns:xsd8="http://kmg.wsdl/"> <import location="kmg/wsdl/UniversalID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Address.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/ZipCode.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/State.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/RemoteRef.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProductID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/InsuranceOrganizationServiceRMI.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/EmployeeProfile.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Branch.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/InsuranceCompanyID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/IBranchFunction.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/BranchID.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/Region.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/Producer.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProdUWCntr.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProducerID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProfitCenter.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProfitCenterID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Product.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/Department.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/JobTitle.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/Role.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/RAMSEmployeeProfile.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/EmployeeProfileSummary.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/BranchSummary.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/BranchSearch.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/EmployeeProfileSearch.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/InsuranceCompany.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProducerSummary.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Address.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/AccountID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProgramCode.xsd" namespace ="http://kmg.wsdl/"/> <message name="getEMPLFavProducerRequest"> 2. InsuranceOrganizationServiceRMIService <?xml version="1.0" encoding="UTF-8"?> <definitions name="InsuranceOrganizationServiceRMIService" targetNamespace ="http://kmg.wsdl/InsuranceOrganizationServiceRMIService/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:binding="http://kmg.wsdl/InsuranceOrganizationServiceRMIBinding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns ="http://kmg.wsdl/InsuranceOrganizationServiceRMIService/"> <import location="InsuranceOrganizationServiceRMIBinding.wsdl" namespace="http://kmg.wsdl/InsuranceOrganizationServiceRMIBinding/"/> <service name="InsuranceOrganizationServiceRMIService"> 3. <definitions name="InsuranceOrganizationServiceRMIBinding" targetNamespace ="http://kmg.wsdl/InsuranceOrganizationServiceRMIBinding/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:interface="http://kmg.wsdl/InsuranceOrganizationServiceRMI/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://kmg.wsdl/InsuranceOrganizationServiceRMIBinding/"> <import location="InsuranceOrganizationServiceRMI.wsdl" namespace ="http://kmg.wsdl/InsuranceOrganizationServiceRMI/"/> <binding name="InsuranceOrganizationServiceRMIBinding" type ="interface:InsuranceOrganizationServiceRMI"> <soap:binding style="rpc" transport ="http://schemas.xmlsoap.org/soap/http"/> <operation name="getEMPLFavProducer"> <soap:operation soapAction="" style="rpc"/> <input name="getEMPLFavProducerRequest"> <soap:body encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" namespace='urn:InsuranceRMI' parts="empl_id" use="encoded"/> </input> <output name="getEMPLFavProducerResponse"> <soap:body encodingStyle ="http://schemas.xmlsoap.org/soap/encoding/" namespace='urn:InsuranceRMI' use="encoded"/> </output> ...................... 4.. InsuranceOrganizationServiceRMIJava <?xml version="1.0" encoding="UTF-8"?> <definitions name="InsuranceOrganizationServiceRMIJava" targetNamespace="http://kmg.wsdl/InsuranceOrganizationServiceRMIJava/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/" xmlns:interface1="http://kmg.wsdl/InsuranceOrganizationServiceRMI/" xmlns:java="http://schemas.xmlsoap.org/wsdl/java/" xmlns:tns="http://kmg.wsdl/InsuranceOrganizationServiceRMIJava/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://kmg.wsdl/" xmlns:xsd2="http://kmg.wsdl/" xmlns:xsd3="http://kmg.wsdl/" xmlns:xsd4="http://kmg.wsdl/" xmlns:xsd5="http://kmg.wsdl/" xmlns:xsd6="http://kmg.wsdl/" xmlns:xsd7="http://xml.apache.org/xml-soap" xmlns:xsd8="http://kmg.wsdl/"> <import location="kmg/wsdl/ProductID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/State.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/ZipCode.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/Address.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/BranchID.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProfitCenter.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProducerSummary.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Branch.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProfitCenterID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/InsuranceCompany.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/IBranchFunction.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/InsuranceCompanyID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProducerID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/InsuranceOrganizationServiceRMI.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/RAMSEmployeeProfile.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/JobTitle.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/Department.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Producer.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/BranchSummary.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Product.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/EmployeeProfile.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Role.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/Region.xsd" namespace="http://kmg.wsdl/"/> <import location="kmg/wsdl/ProdUWCntr.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/EmployeeProfileSummary.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/BranchSearch.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/EmployeeProfileSearch.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/Address.xsd" namespace="http://kmg.wsdl/"/> <import namespace="http://xml.apache.org/xml-soap"/> <import location="kmg/wsdl/UniversalID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/InsuranceOrganizationServiceRMI.wsdl" namespace="http://kmg.wsdl/InsuranceOrganizationServiceRMI/"/> <import location="kmg/wsdl/ProgramCode.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/AccountID.xsd" namespace ="http://kmg.wsdl/"/> <import location="kmg/wsdl/RemoteRef.xsd" namespace ="http://kmg.wsdl/"/> <binding name="InsuranceOrganizationServiceRMIJavaBinding" type ="interface1:InsuranceOrganizationServiceRMI"> <java:binding/> <format:typeMapping encoding="Java" style="Java"> <format:typeMap formatType="kmg.wsdl.BranchID" typeName="xsd1:BranchID"/> <format:typeMap formatType="[Lkmg.wsdl.Product;" typeName ="xsd1:ArrayOfProduct"/> <format:typeMap formatType="kmg.wsdl.ProducerSummary" typeName ="xsd1:ProducerSummary"/> <format:typeMap formatType="[Lkmg.wsdl.IBranchFunction;" typeName ="xsd1:ArrayOfIBranchFunction"/> <format:typeMap ................................. deployement descirptor <?xml version="1.0"?> <isd:service id="urn:InsuranceRMI" xmlns:isd ="http://xml.apache.org/xml-soap/deployment"> <isd:provider type="java" scope="Application" methods="findProducers getRaters getPLM deleteEmployeeProfile getAllPUC findRAMSEmployeeProfiles getDepartments saveEmployeeProfile getUnderWritersForBranch getRAMSEmployeeProfile addFavProducerDuringClearance getLossControlRepresentatives getProducerForGivenNumber getJobTitles getEmployeeProfile addRAMSEmployeeProfile getBrProducer getPUCEmplId authorizeProducers getRecordClerks getProducerForGivenName saveRAMSEmployeeProfile addEmployeeProfile getUnderwriters getBranch getBrRegion addFavProducer getMarketingRepresentatives getAllBranchNoExpiry findUnderwritingCompanies getUserRegion findEmployeeProfiles getDefaultUnderWriters deleteRAMSEmployeeProfile getAllBranch getEMPLFavProducer findBranches getSupervisors getRef getPUCProducer getEMPLProducer getAllProducts getPUC getName"> <isd:java class ="com.fits.service.insuranceorganization.InsuranceOrganizationServiceRMI" static="false"/> </isd:provider> <isd:mappings> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:RAMSEmployeeProfile" javaType ="kmg.wsdl.RAMSEmployeeProfile" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:EmployeeProfileSummary" javaType ="kmg.wsdl.EmployeeProfileSummary" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:JobTitle" javaType="kmg.wsdl.JobTitle" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:EmployeeProfile" javaType ="kmg.wsdl.EmployeeProfile" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:AccountID" javaType ="kmg.wsdl.AccountID" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:Producer" javaType="kmg.wsdl.Producer" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:Department" javaType ="kmg.wsdl.Department" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:Branch" javaType="kmg.wsdl.Branch" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ProducerID" javaType ="kmg.wsdl.ProducerID" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:Region" javaType="kmg.wsdl.Region" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:IBranchFunction" javaType ="kmg.wsdl.IBranchFunction" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:RemoteRef" javaType ="kmg.wsdl.RemoteRef" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ProductID" javaType ="kmg.wsdl.ProductID" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:InsuranceCompany" javaType ="kmg.wsdl.InsuranceCompany" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:BranchID" javaType="kmg.wsdl.BranchID" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:Product" javaType="kmg.wsdl.Product" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:Role" javaType="kmg.wsdl.Role" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:InsuranceCompanyID" javaType ="kmg.wsdl.InsuranceCompanyID" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ProfitCenter" javaType ="kmg.wsdl.ProfitCenter" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:UniversalID" javaType ="kmg.wsdl.UniversalID" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ProdUWCntr" javaType ="kmg.wsdl.ProdUWCntr" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:Address" javaType="kmg.wsdl.Address" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ZipCode" javaType="kmg.wsdl.ZipCode" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:BranchSummary" javaType ="kmg.wsdl.BranchSummary" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:EmployeeProfileSearch" javaType ="kmg.wsdl.EmployeeProfileSearch" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:Address" javaType="kmg.wsdl.Address" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ProducerSummary" javaType ="kmg.wsdl.ProducerSummary" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ProfitCenterID" javaType ="kmg.wsdl.ProfitCenterID" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:State" javaType="kmg.wsdl.State" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:BranchSearch" javaType ="kmg.wsdl.BranchSearch" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ProgramCode" javaType ="kmg.wsdl.ProgramCode" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="http://kmg.wsdl/" qname="x:ArrayList" javaType ="java.util.ArrayList" java2XMLClassName ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName ="org.apache.soap.encoding.soapenc.BeanSerializer"/> </isd:mappings> </isd:service> Scott Nichol <snicholnews@scott To: taylorsarah@example.com nichol.com> cc: Subject: Re: PL HELP ME... URGENT HELP REQUIRED 01/02/2003 08:58 PM Please respond to soap-user In addition to mappings for XML Schema types, Apache SOAP (and possibly Axis, too) provides implicit mappings for some Java types (such as Vector and Hashtable). Unlike the XML Schema types, however, there is no standard XML type for these Java types, so Apache SOAP uses its own custom types. In your case, it appears you are using a Java Vector for a parameter. Probably no non-Apache SOAP implementation will have a built-in type mapping for this, so errors like the one you get are expected. Since you are using WSDL, the way to resolve this is to add a definition for the Vector type in the http://xml.apache.org/xml-soap namespace in a schema in your WSDL. Scott Nichol ----- Original Message ----- From: <taylorsarah@example.com> To: <taylorsarah@example.com> Sent: Thursday, August 08, 2002 4:37 AM Subject: PL HELP ME... URGENT HELP REQUIRED > Hello ALL > > > I am connecting wsdl ( weblogic6.1) using .net and getting this error > ........ > any help will be appreciated ........ > > > > Thanx > > kind regrd > raky > > > > > > > > SoapMapper:The schema definition with a targetnamespace of > http://xml.apache.org/xml-soap for SoapMapper Vector could not be found > HRESULT=0x80004005: Unspecified error - SoapMapper:The SoapMapper for > element Vector could not be created HRESULT=0x80004005: Unspecified error - > WSDLOperation:Initialization of a SoapMapper for operation > getEMPLFavProducer failed HRESULT=0x80004005: Unspecified error - > WSDLOperation:Initializing of the output message failed for operation > getEMPLFavProducer HRESULT=0x80004005: Unspecified error - WSDLPort:An > operation for port InsuranceOrganizationServiceRMIPort could not be > initialized HRESULT=0x80004005: Unspecified error - WSDLPort:Analyzing the > binding information for port InsuranceOrganizationServiceRMIPort failed > HRESULT=0x80004005: Unspecified error - WSDLService:Initialization of the > port for service InsuranceOrganizationServiceRMIService failed > HRESULT=0x80004005: Unspecified error - WSDLReader:Analyzing the WSDL file > failed HRESULT=0x80004005: Unspecified error - Client: > One of the parameters supplied is invalid. HRESULT=0x80070057: The > parameter is incorrect > > > > -- > To unsubscribe, e-mail: <mailto:taylorsarah@example.com> > For additional commands, e-mail: <mailto:taylorsarah@example.com> > > -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 17:23:48 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 78458 invoked by uid 500); 2 Jan 2003 17:23:47 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 78436 invoked from network); 2 Jan 2003 17:23:47 -0000 Received: from smtp.comcast.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 17:23:47 -0000 Received: from fastdata (pcp01349834pcs.lowmrn01.pa.comcast.net [83.161.120.155]) by mtaout05.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with SMTP id <taylorsarah@example.com> for taylorsarah@example.com; Thu, 02 Jan 2003 12:19:51 -0500 (EST) Date: Thu, 02 Jan 2003 12:25:14 -0500 From: Scott Nichol <taylorsarah@example.com> Subject: Re: SOAP - method return To: taylorsarah@example.com, taylorsarah@example.com Message-id: <06ce01c2b283$e9af39b0$c900a8c0@fastdata> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Mailer: Microsoft Outlook Express 5.50.4920.2300 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <taylorsarah@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N A couple of things: 1. Which line of your code is line 36 where the exception is occurring? 2. Your code should check for a SOAP Fault before doing getReturnValue(), e.g. Response resp = call.invoke(url, ""); if (resp.generatedFault()) { Fault fault = resp.getFault(); System.err.println("Generated fault: " + fault); } else { Parameter p = resp.getReturnValue(); Hashtable values = (Hashtable)p.getValue(); ... If there is a fault, I believe that getReturnValue() will return null, so calling it without checking for a fault could lead to an NPE. 3. Although I take it you are using Apache SOAP on the server in this case, it is worth pointing out that some SOAP implementations will omit the return value from the SOAP envelope if its value is null (e.g. this happens in .NET when the return is not specified as being nillable). Therefore, it is good practice in your client code to check that getReturnValue() does not itself return null. Scott Nichol ----- Original Message ----- From: "Vijay Shinde" <taylorsarah@example.com> To: <taylorsarah@example.com> Sent: Thursday, January 02, 2003 11:54 AM Subject: SOAP - method return > Hi, > > I am doing LDAP call using soap .I want to return Hashtable from my > method call. > On my client site I am using following code to get my hashtable. > > Response resp = call.invoke(url, ""); > Parameter p = resp.getReturnValue(); > Hashtable values = (Hashtable)p.getValue(); > > I am getting following exception. > > The SOAP Server says: > http://localhost:8080/soap/servlet/rpcrouterException in t > hread "main" java.lang.NullPointerException > at LDAP_client.main(LDAP_client.java:36) > > any help will be useful. > > Vijay > -- > This communication is intended for the addressee(s) and may contain > confidential and legally privileged information. We do not waive > confidentiality or privilege by mistransmission. If you have received > this communication in error, any use, dissemination, printing or copying > is strictly prohibited; please destroy all electronic and paper copies > and notify the sender immediately. > > > > -- > To unsubscribe, e-mail: <mailto:taylorsarah@example.com> > For additional commands, e-mail: <mailto:taylorsarah@example.com> > > -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 17:30:03 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 84306 invoked by uid 500); 2 Jan 2003 17:30:02 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 84285 invoked from network); 2 Jan 2003 17:30:02 -0000 Received: from pivsbh2.ms.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 17:30:02 -0000 Received: from pivsbh2.ms.com (localhost [83.161.120.155]) by localhost.ms.com (Postfix) with SMTP id 4140E16B41; Thu, 2 Jan 2003 12:30:05 -0500 (EST) Received: from pimail3.ms.com (unknown [83.161.120.155]) by pivsbh2.ms.com (internal Postfix) with ESMTP id 26EB4159C1; Thu, 2 Jan 2003 12:30:05 -0500 (EST) Received: from morganstanley.com (dynamic-198-187-14-155 [83.161.120.155]) by pimail3.ms.com (Sendmail MTA Hub) with ESMTP id h02HU3v29405; Thu, 2 Jan 2003 12:30:04 -0500 (EST) Message-ID: <taylorsarah@example.com> Date: Thu, 02 Jan 2003 12:30:04 -0500 From: Vijay Shinde <taylorsarah@example.com> Reply-To: taylorsarah@example.com Organization: Morgan Stanley X-Mailer: Mozilla 4.76 [en]C-CCK-MCD MS4.76 V20010517.3 (WinNT; U) X-Accept-Language: en,ja MIME-Version: 1.0 To: taylorsarah@example.com, taylorsarah@example.com Subject: Re: SOAP - method return References: <taylorsarah@example.com> <06ce01c2b283$e9af39b0$c900a8c0@fastdata> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Scott, Here are the details. I guess i need to provide the mapping in my DeploymentDescriptor.xml. Here is my descriptor. <dd:service xmlns:dd="http://xml.apache.org/xml-soap/deployment" id="urn:ldap"> <dd:provider type="java" scope="Application" methods="getLDAP"> <dd:java class="LDAPCall" static="false" /> </dd:provider> <dd:faultListener>org.apache.soap.server.DOMFaultListener</dd:faultListener> <dd:mappings> <dd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:x="urn:ldap" qname="x:ldap" javaType="java.util.Hashtable" java2XMLClassName="org.apache.soap.encoding.soapenc.HashtableSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.HashtableSerializer"/> </dd:mappings> </dd:service> I am returning Hashtable from my method call. I am getting following exception. The SOAP Server says: http://localhost:8080/soap/servlet/rpcrouter Ouch, the call failed: Fault Code = SOAP-ENV:Server Fault String = java.lang.IllegalArgumentException: No Serializer found to seri alize a 'java.util.Vector$1' using encoding style 'http://schemas.xmlsoap.org/so ap/encoding/'. I have provide mapping for hashtable why it is throwing me error for vector class?. are my mappings correct? Vijay Scott Nichol wrote: > A couple of things: > > 1. Which line of your code is line 36 where the exception is occurring? > > 2. Your code should check for a SOAP Fault before doing > getReturnValue(), e.g. > > Response resp = call.invoke(url, ""); > if (resp.generatedFault()) { > Fault fault = resp.getFault(); > System.err.println("Generated fault: " + fault); > } else { > Parameter p = resp.getReturnValue(); > Hashtable values = (Hashtable)p.getValue(); > ... > > If there is a fault, I believe that getReturnValue() will return null, > so calling it without checking for a fault could lead to an NPE. > > 3. Although I take it you are using Apache SOAP on the server in this > case, it is worth pointing out that some SOAP implementations will omit > the return value from the SOAP envelope if its value is null (e.g. this > happens in .NET when the return is not specified as being nillable). > Therefore, it is good practice in your client code to check that > getReturnValue() does not itself return null. > > Scott Nichol > > ----- Original Message ----- > From: "Vijay Shinde" <taylorsarah@example.com> > To: <taylorsarah@example.com> > Sent: Thursday, January 02, 2003 11:54 AM > Subject: SOAP - method return > > > Hi, > > > > I am doing LDAP call using soap .I want to return Hashtable from my > > method call. > > On my client site I am using following code to get my hashtable. > > > > Response resp = call.invoke(url, ""); > > Parameter p = resp.getReturnValue(); > > Hashtable values = (Hashtable)p.getValue(); > > > > I am getting following exception. > > > > The SOAP Server says: > > http://localhost:8080/soap/servlet/rpcrouterException in t > > hread "main" java.lang.NullPointerException > > at LDAP_client.main(LDAP_client.java:36) > > > > any help will be useful. > > > > Vijay > > -- > > This communication is intended for the addressee(s) and may contain > > confidential and legally privileged information. We do not waive > > confidentiality or privilege by mistransmission. If you have received > > this communication in error, any use, dissemination, printing or > copying > > is strictly prohibited; please destroy all electronic and paper copies > > and notify the sender immediately. > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:taylorsarah@example.com> > > For additional commands, e-mail: > <mailto:taylorsarah@example.com> > > > > > > -- > To unsubscribe, e-mail: <mailto:taylorsarah@example.com> > For additional commands, e-mail: <mailto:taylorsarah@example.com> -- This communication is intended for the addressee(s) and may contain confidential and legally privileged information. We do not waive confidentiality or privilege by mistransmission. If you have received this communication in error, any use, dissemination, printing or copying is strictly prohibited; please destroy all electronic and paper copies and notify the sender immediately. -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 17:44:14 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 92481 invoked by uid 500); 2 Jan 2003 17:44:14 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 92470 invoked from network); 2 Jan 2003 17:44:13 -0000 Received: from smtp.comcast.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 17:44:13 -0000 Received: from fastdata (pcp01349834pcs.lowmrn01.pa.comcast.net [83.161.120.155]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with SMTP id <taylorsarah@example.com> for taylorsarah@example.com; Thu, 02 Jan 2003 12:44:04 -0500 (EST) Date: Thu, 02 Jan 2003 12:49:25 -0500 From: Scott Nichol <taylorsarah@example.com> Subject: Re: PL HELP ME... URGENT HELP REQUIRED To: taylorsarah@example.com Message-id: <070401c2b287$4a77ced0$c900a8c0@fastdata> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Mailer: Microsoft Outlook Express 5.50.4920.2300 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <taylorsarah@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am not sure what your question is. There are 2 WSDL files where you reference all the .xsd for your domain types, so I would think you would reference the .xsd for a Vector from both of those files. You will need to create the .xsd file yourself, I guess. Scott Nichol ----- Original Message ----- From: <taylorsarah@example.com> To: <taylorsarah@example.com> Sent: Thursday, August 08, 2002 12:26 PM Subject: Re: PL HELP ME... URGENT HELP REQUIRED > > Scott Nichol > Thanx for ur help last time also u have helped for parsers.. > well > > i have 4 wsdl for one class i am facing problem where and how to mention > path for xsd any help will be appreciated > > TONS of thanx > > > Kind regrds > raky > > > i have stored all files wsdl and xsd under > " kmg.wsdl" directory > > below are little part of wsdl .. > > > > > InsuranceOrganizationServiceRMI > > <?xml version="1.0" encoding="UTF-8"?> > <definitions name="InsuranceOrganizationServiceRMI" > targetNamespace="http://kmg.wsdl/InsuranceOrganizationServiceRMI/" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:tns="http://kmg.wsdl/InsuranceOrganizationServiceRMI/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsd1="http://kmg.wsdl/" > xmlns:xsd2="http://xml.apache.org/xml-soap" > xmlns:xsd3="http://kmg.wsdl/" > xmlns:xsd4="http://kmg.wsdl/" > xmlns:xsd5="http://kmg.wsdl/" > xmlns:xsd6="http://kmg.wsdl/" > xmlns:xsd7="http://kmg.wsdl/" > xmlns:xsd8="http://kmg.wsdl/"> > <import location="kmg/wsdl/UniversalID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Address.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ZipCode.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/State.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/RemoteRef.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProductID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/InsuranceOrganizationServiceRMI.xsd" > namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/EmployeeProfile.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Branch.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/InsuranceCompanyID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/IBranchFunction.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/BranchID.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Region.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Producer.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProdUWCntr.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProducerID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProfitCenter.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProfitCenterID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Product.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Department.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/JobTitle.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Role.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/RAMSEmployeeProfile.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/EmployeeProfileSummary.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/BranchSummary.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/BranchSearch.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/EmployeeProfileSearch.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/InsuranceCompany.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProducerSummary.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Address.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/AccountID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProgramCode.xsd" namespace > ="http://kmg.wsdl/"/> > <message name="getEMPLFavProducerRequest"> > > 2. InsuranceOrganizationServiceRMIService > <?xml version="1.0" encoding="UTF-8"?> > <definitions name="InsuranceOrganizationServiceRMIService" > targetNamespace > ="http://kmg.wsdl/InsuranceOrganizationServiceRMIService/" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:binding="http://kmg.wsdl/InsuranceOrganizationServiceRMIBinding/" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns > ="http://kmg.wsdl/InsuranceOrganizationServiceRMIService/"> > <import location="InsuranceOrganizationServiceRMIBinding.wsdl" > namespace="http://kmg.wsdl/InsuranceOrganizationServiceRMIBinding/"/> > <service name="InsuranceOrganizationServiceRMIService"> > > 3. <definitions name="InsuranceOrganizationServiceRMIBinding" > targetNamespace > ="http://kmg.wsdl/InsuranceOrganizationServiceRMIBinding/" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:interface="http://kmg.wsdl/InsuranceOrganizationServiceRMI/" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:tns="http://kmg.wsdl/InsuranceOrganizationServiceRMIBinding/"> > <import location="InsuranceOrganizationServiceRMI.wsdl" namespace > ="http://kmg.wsdl/InsuranceOrganizationServiceRMI/"/> > <binding name="InsuranceOrganizationServiceRMIBinding" type > ="interface:InsuranceOrganizationServiceRMI"> > <soap:binding style="rpc" transport > ="http://schemas.xmlsoap.org/soap/http"/> > <operation name="getEMPLFavProducer"> > <soap:operation soapAction="" style="rpc"/> > <input name="getEMPLFavProducerRequest"> > <soap:body > encodingStyle > ="http://schemas.xmlsoap.org/soap/encoding/" > namespace='urn:InsuranceRMI' > parts="empl_id" use="encoded"/> > </input> > <output name="getEMPLFavProducerResponse"> > <soap:body > encodingStyle > ="http://schemas.xmlsoap.org/soap/encoding/" > namespace='urn:InsuranceRMI' use="encoded"/> > </output> > ...................... > > > > > 4.. InsuranceOrganizationServiceRMIJava > > <?xml version="1.0" encoding="UTF-8"?> > <definitions name="InsuranceOrganizationServiceRMIJava" > targetNamespace="http://kmg.wsdl/InsuranceOrganizationServiceRMIJava/" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/" > xmlns:interface1="http://kmg.wsdl/InsuranceOrganizationServiceRMI/" > xmlns:java="http://schemas.xmlsoap.org/wsdl/java/" > xmlns:tns="http://kmg.wsdl/InsuranceOrganizationServiceRMIJava/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsd1="http://kmg.wsdl/" > xmlns:xsd2="http://kmg.wsdl/" > xmlns:xsd3="http://kmg.wsdl/" > xmlns:xsd4="http://kmg.wsdl/" > xmlns:xsd5="http://kmg.wsdl/" > xmlns:xsd6="http://kmg.wsdl/" > xmlns:xsd7="http://xml.apache.org/xml-soap" > xmlns:xsd8="http://kmg.wsdl/"> > <import location="kmg/wsdl/ProductID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/State.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ZipCode.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Address.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/BranchID.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProfitCenter.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProducerSummary.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Branch.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProfitCenterID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/InsuranceCompany.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/IBranchFunction.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/InsuranceCompanyID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProducerID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/InsuranceOrganizationServiceRMI.xsd" > namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/RAMSEmployeeProfile.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/JobTitle.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Department.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Producer.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/BranchSummary.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Product.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/EmployeeProfile.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Role.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Region.xsd" namespace="http://kmg.wsdl/"/> > <import location="kmg/wsdl/ProdUWCntr.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/EmployeeProfileSummary.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/BranchSearch.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/EmployeeProfileSearch.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/Address.xsd" namespace="http://kmg.wsdl/"/> > <import namespace="http://xml.apache.org/xml-soap"/> > <import location="kmg/wsdl/UniversalID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/InsuranceOrganizationServiceRMI.wsdl" > namespace="http://kmg.wsdl/InsuranceOrganizationServiceRMI/"/> > <import location="kmg/wsdl/ProgramCode.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/AccountID.xsd" namespace > ="http://kmg.wsdl/"/> > <import location="kmg/wsdl/RemoteRef.xsd" namespace > ="http://kmg.wsdl/"/> > <binding name="InsuranceOrganizationServiceRMIJavaBinding" type > ="interface1:InsuranceOrganizationServiceRMI"> > <java:binding/> > <format:typeMapping encoding="Java" style="Java"> > <format:typeMap > formatType="kmg.wsdl.BranchID" typeName="xsd1:BranchID"/> > <format:typeMap > formatType="[Lkmg.wsdl.Product;" typeName > ="xsd1:ArrayOfProduct"/> > <format:typeMap > formatType="kmg.wsdl.ProducerSummary" typeName > ="xsd1:ProducerSummary"/> > <format:typeMap > formatType="[Lkmg.wsdl.IBranchFunction;" typeName > ="xsd1:ArrayOfIBranchFunction"/> > <format:typeMap > ................................. > > > deployement descirptor > > > <?xml version="1.0"?> > <isd:service id="urn:InsuranceRMI" xmlns:isd > ="http://xml.apache.org/xml-soap/deployment"> > <isd:provider type="java" scope="Application" methods="findProducers > getRaters getPLM deleteEmployeeProfile getAllPUC findRAMSEmployeeProfiles > getDepartments saveEmployeeProfile getUnderWritersForBranch > getRAMSEmployeeProfile addFavProducerDuringClearance > getLossControlRepresentatives getProducerForGivenNumber getJobTitles > getEmployeeProfile addRAMSEmployeeProfile getBrProducer getPUCEmplId > authorizeProducers getRecordClerks getProducerForGivenName > saveRAMSEmployeeProfile addEmployeeProfile getUnderwriters getBranch > getBrRegion addFavProducer getMarketingRepresentatives getAllBranchNoExpiry > findUnderwritingCompanies getUserRegion findEmployeeProfiles > getDefaultUnderWriters deleteRAMSEmployeeProfile getAllBranch > getEMPLFavProducer findBranches getSupervisors getRef getPUCProducer > getEMPLProducer getAllProducts getPUC getName"> > <isd:java class > ="com.fits.service.insuranceorganization.InsuranceOrganizationServiceRMI " > static="false"/> > </isd:provider> > <isd:mappings> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:RAMSEmployeeProfile" javaType > ="kmg.wsdl.RAMSEmployeeProfile" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:EmployeeProfileSummary" javaType > ="kmg.wsdl.EmployeeProfileSummary" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:JobTitle" javaType="kmg.wsdl.JobTitle" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:EmployeeProfile" javaType > ="kmg.wsdl.EmployeeProfile" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:AccountID" javaType > ="kmg.wsdl.AccountID" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:Producer" javaType="kmg.wsdl.Producer" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:Department" javaType > ="kmg.wsdl.Department" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:Branch" javaType="kmg.wsdl.Branch" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ProducerID" javaType > ="kmg.wsdl.ProducerID" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:Region" javaType="kmg.wsdl.Region" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:IBranchFunction" javaType > ="kmg.wsdl.IBranchFunction" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:RemoteRef" javaType > ="kmg.wsdl.RemoteRef" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ProductID" javaType > ="kmg.wsdl.ProductID" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:InsuranceCompany" javaType > ="kmg.wsdl.InsuranceCompany" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:BranchID" javaType="kmg.wsdl.BranchID" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:Product" javaType="kmg.wsdl.Product" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:Role" javaType="kmg.wsdl.Role" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:InsuranceCompanyID" javaType > ="kmg.wsdl.InsuranceCompanyID" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ProfitCenter" javaType > ="kmg.wsdl.ProfitCenter" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:UniversalID" javaType > ="kmg.wsdl.UniversalID" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ProdUWCntr" javaType > ="kmg.wsdl.ProdUWCntr" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:Address" javaType="kmg.wsdl.Address" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ZipCode" javaType="kmg.wsdl.ZipCode" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:BranchSummary" javaType > ="kmg.wsdl.BranchSummary" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:EmployeeProfileSearch" javaType > ="kmg.wsdl.EmployeeProfileSearch" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:Address" javaType="kmg.wsdl.Address" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ProducerSummary" javaType > ="kmg.wsdl.ProducerSummary" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ProfitCenterID" javaType > ="kmg.wsdl.ProfitCenterID" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:State" javaType="kmg.wsdl.State" > java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" > xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:BranchSearch" javaType > ="kmg.wsdl.BranchSearch" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ProgramCode" javaType > ="kmg.wsdl.ProgramCode" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="http://kmg.wsdl/" qname="x:ArrayList" javaType > ="java.util.ArrayList" java2XMLClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName > ="org.apache.soap.encoding.soapenc.BeanSerializer"/> > </isd:mappings> > </isd:service> > > > > > > > > > > > > > > > > Scott Nichol > <snicholnews@scott To: taylorsarah@example.com > nichol.com> cc: > Subject: Re: PL HELP ME... URGENT HELP REQUIRED > 01/02/2003 08:58 > PM > Please respond to > soap-user > > > > > > > In addition to mappings for XML Schema types, Apache SOAP (and possibly > Axis, too) provides implicit mappings for some Java types (such as > Vector and Hashtable). Unlike the XML Schema types, however, there is > no standard XML type for these Java types, so Apache SOAP uses its own > custom types. In your case, it appears you are using a Java Vector for > a parameter. Probably no non-Apache SOAP implementation will have a > built-in type mapping for this, so errors like the one you get are > expected. > > Since you are using WSDL, the way to resolve this is to add a definition > for the Vector type in the http://xml.apache.org/xml-soap namespace in a > schema in your WSDL. > > Scott Nichol > > ----- Original Message ----- > From: <taylorsarah@example.com> > To: <taylorsarah@example.com> > Sent: Thursday, August 08, 2002 4:37 AM > Subject: PL HELP ME... URGENT HELP REQUIRED > > > > Hello ALL > > > > > > I am connecting wsdl ( weblogic6.1) using .net and getting this error > > ........ > > any help will be appreciated ........ > > > > > > > > Thanx > > > > kind regrd > > raky > > > > > > > > > > > > > > > > SoapMapper:The schema definition with a targetnamespace of > > http://xml.apache.org/xml-soap for SoapMapper Vector could not be > found > > HRESULT=0x80004005: Unspecified error - SoapMapper:The SoapMapper for > > element Vector could not be created HRESULT=0x80004005: Unspecified > error - > > WSDLOperation:Initialization of a SoapMapper for operation > > getEMPLFavProducer failed HRESULT=0x80004005: Unspecified error - > > WSDLOperation:Initializing of the output message failed for operation > > getEMPLFavProducer HRESULT=0x80004005: Unspecified error - WSDLPort:An > > operation for port InsuranceOrganizationServiceRMIPort could not be > > initialized HRESULT=0x80004005: Unspecified error - WSDLPort:Analyzing > the > > binding information for port InsuranceOrganizationServiceRMIPort > failed > > HRESULT=0x80004005: Unspecified error - WSDLService:Initialization of > the > > port for service InsuranceOrganizationServiceRMIService failed > > HRESULT=0x80004005: Unspecified error - WSDLReader:Analyzing the WSDL > file > > failed HRESULT=0x80004005: Unspecified error - Client: > > One of the parameters supplied is invalid. HRESULT=0x80070057: The > > parameter is incorrect > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:taylorsarah@example.com> > > For additional commands, e-mail: > <mailto:taylorsarah@example.com> > > > > > > > -- > To unsubscribe, e-mail: <mailto:taylorsarah@example.com> > For additional commands, e-mail: <mailto:taylorsarah@example.com> > > > > > > > > -- > To unsubscribe, e-mail: <mailto:taylorsarah@example.com> > For additional commands, e-mail: <mailto:taylorsarah@example.com> > > -- To unsubscribe, e-mail: <mailto:taylorsarah@example.com> For additional commands, e-mail: <mailto:taylorsarah@example.com> From soaptaylorsarah@example.com Thu Jan 02 18:10:59 2003 Return-Path: <soaptaylorsarah@example.com> Delivered-To: taylorsarah@example.com Received: (qmail 10761 invoked by uid 500); 2 Jan 2003 18:10:56 -0000 Mailing-List: contact taylorsarah@example.com; run by ezmlm Precedence: bulk Reply-To: taylorsarah@example.com list-help: <mailto:taylorsarah@example.com> list-unsubscribe: <mailto:taylorsarah@example.com> list-post: <mailto:taylorsarah@example.com> Delivered-To: mailing list taylorsarah@example.com Received: (qmail 10750 invoked from network); 2 Jan 2003 18:10:56 -0000 Received: from smtp.comcast.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Jan 2003 18:10:56 -0000 Received: from fastdata (pcp01349834pcs.lowmrn01.pa.comcast.net [83.161.120.155]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with SMTP id <taylorsarah@example.com> for taylorsarah@example.com; Thu, 02 Jan 2003 13:11:00 -0500 (EST) Date: Thu, 02 Jan 2003 13:16:23 -0500 From: Scott Nichol <taylorsarah@example.com> Subject: Re: SOAP - method return To: taylorsarah@example.com Message-id: <070c01c2b28b$0eb534b0$c900a8c0@fastdata> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Mailer: Microsoft Outlook Express 5.50.4920.2300 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <taylorsarah@example.com> <06ce01c2b283$e9af39b0$c900a8c0@fastdata> <taylorsarah@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The Hashtable mapping is implicit: you do not need it in your deploymentdescriptor. As you can see, the error is actually finding a serializer for java.util.Vector$1. This class exists back to JDK 1.2; it is an anonymous class implementing the Enumeration interface defined by the Vector#elements() method. I take it that the elements in your Hashtable are such Enumerations. What you need to do is write a serializer and deserializer for such Enumerations and map them to java.util.Vector$1 (map the serializer on the server and the deserializer on the client). Alternatively, if you can rewrite the method (or add a new method) to return a Hashable of Vectors instead, the built-in Vector serializer will do the work for you. Scott Nichol ----- Original Message ----- From: "Vijay Shinde" <taylorsarah@example.com> To: <taylorsarah@example.com>; <taylorsarah@example.com> Sent: Thursday, January 02, 2003 12:30 PM Subject: Re: SOAP - method return > Scott, > > Here are the details. > > I guess i need to provide the mapping in my DeploymentDescriptor.xml. > > Here is my descriptor. > <dd:service xmlns:dd="http://xml.apache.org/xml-soap/deployment" > id="urn:ldap"> > <dd:provider type="java" > scope="Application" > methods="getLDAP"> > <dd:java class="LDAPCall" static="false" /> > </dd:provider> > > <dd:faultListener>org.apache.soap.server.DOMFaultListener</dd:faultListe ner> > > <dd:mappings> > <dd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="urn:ldap" qname="x:ldap" > javaType="java.util.Hashtable" > > java2XMLClassName="org.apache.soap.encoding.soapenc.HashtableSerializer" > > xml2JavaClassName="org.apache.soap.encoding.soapenc.HashtableSerializer" /> > > </dd:mappings> > </dd:service> > > I am returning Hashtable from my method call. > > I am getting following exception. > > The SOAP Server says: http://localhost:8080/soap/servlet/rpcrouter > Ouch, the call failed: > Fault Code = SOAP-ENV:Server > Fault String = java.lang.IllegalArgumentException: No Serializer found to > seri > alize a 'java.util.Vector$1' using encoding style > 'http://schemas.xmlsoap.org/so > ap/encoding/'. > > I have provide mapping for hashtable why it is throwing me error for vector > class?. > are my mappings correct? > > > Vijay > > > Scott Nichol wrote: > > > A couple of
{'source': 'Apache Software Foundation Public Mail Archives'}