From dmcfarland@example.org Thu Feb 01 09:46:26 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 85474 invoked from network); 1 Feb 2007 09:46:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 09:46:25 -0000 Received: (qmail 40832 invoked by uid 500); 1 Feb 2007 09:46:23 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 40786 invoked by uid 500); 1 Feb 2007 09:46:22 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 40764 invoked by uid 99); 1 Feb 2007 09:46:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 01:46:22 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO volume4.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 01:46:13 -0800 Received: from alliedbridge.com (volume4.com [83.161.120.155]) by volume4.com (83.161.120.15560308/8.12.11) with ESMTP id l119sWFN012448 for <dmcfarland@example.org>; Thu, 1 Feb 2007 04:54:32 -0500 From: "schalk" <dmcfarland@example.org> To: dmcfarland@example.org Subject: Re: [Axis2] Weird error Date: Thu, 1 Feb 2007 04:54:32 -0500 Message-Id: <dmcfarland@example.org> X-Mailer: Open WebMail 2.40 20040816 X-OriginatingIP: 83.161.120.155 (dmcfarland@example.org) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Received-SPF: pass (volume4.com: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) receiver=volume4.com; client-ip=83.161.120.155; helo=alliedbridge.com; dmcfarland@example.org; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; X-Virus-Scanned: ClamAV 0.87/2509/Wed Jan 31 19:36:58 2007 on volume4.com X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Does anyone have any idea about the below? Any and all help much appreciated. schalk wrote: > Hi All, > > When running the following code: > > log.debug("Set AuthHeader elements...\n"); > DataServiceStub.AuthHeader authHeaderElements = new > DataServiceStub.AuthHeader(); > > authHeaderElements.setUserName(resources.getMessage("engenSOAPUsername", null, > "NO_USERNAME", null)); > > authHeaderElements.setPassword(PasswordService.getInstance().encrypt(resources.getMessage("engenSOAPPassword", > null, "NO_PASSWORD", null))); > > log.debug("Adding header...\n"); > DataServiceStub.AuthHeader1 authHeader = new > DataServiceStub.AuthHeader1(); > authHeader.setAuthHeader(authHeaderElements); > > log.debug("Adding SOAP Body elements...\n"); > DataServiceStub.Send soapBody = new DataServiceStub.Send(); > soapBody.setDataIdentifier("orderrequest"); > soapBody.setXmlData(mrequest.getStringParameter("e-Frame message")); > > log.debug("Send SOAP...\n"); > DataServiceStub.SendResponse resp = new DataServiceStub.SendResponse(); > try { > log.debug("Instatiating DataServiceStub...\n"); > DataServiceStub dss = new DataServiceStub(); > resp = dss.Send(soapBody, authHeader); > log.debug("SOAPHeader: " + authHeader + "\n"); > log.debug("SOAPBody: " + soapBody + "\n"); > } catch(AxisFault af) { > log.error("AxisFault: " + af + "\n"); > } > > I get the following error: > > DEBUG - [soap-service] - Reading data sent from EDI... > > DEBUG - [soap-service] - Set AuthHeader elements... > > DEBUG - [soap-service] - Adding header... > > DEBUG - [soap-service] - Adding SOAP Body elements... > > DEBUG - [soap-service] - Send SOAP... > > DEBUG - [soap-service] - Instatiating DataServiceStub... > > ERROR - > [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cxws].[OrderProcessClient]] > - Servlet.service() for servlet OrderProcessClient threw exception > java.lang.IncompatibleClassChangeError > at > za.co.cxchange.soap.engen.client.DataServiceStub.Send(DataServiceStub.java:107) > at > za.co.cxchange.soap.engen.client.OrderProcessClient.processRequest(OrderProcessClient.java:58) > at > za.co.cxchange.soap.engen.client.OrderProcessClient.doPost(OrderProcessClient.java:74) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > > Any ideas? Appologies for all of the code. > > Thanks! > Schalk > > > -- > Open WebMail Project (http://openwebmail.org) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dmcfarland@example.org > For additional commands, e-mail: dmcfarland@example.org > > -- Open WebMail Project (http://openwebmail.org) --------------------------------------------------------------------- To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From dmcfarland@example.org Thu Feb 01 10:20:53 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 93811 invoked from network); 1 Feb 2007 10:20:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 10:20:53 -0000 Received: (qmail 73926 invoked by uid 500); 1 Feb 2007 10:20:50 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 73902 invoked by uid 500); 1 Feb 2007 10:20:50 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 73889 invoked by uid 99); 1 Feb 2007 10:20:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 02:20:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO web30802.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Feb 2007 02:20:40 -0800 Received: (qmail 22650 invoked by uid 60001); 1 Feb 2007 10:20:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=U8UvCpGVOzKzpmSb3FGXC8kJ0manmxWI/jHiQ7AidE53ynlh3TbjMqTqMQJ7zMppuwz6ApN1WYXYXdklvv1juc8NJ5hdlvNlRoG6xEixDsanLqu63uObtcG+Yzpfnxy4jk0LxBxJX1DRbYjCr3dS1tWhq4tGKQfmn5svFsTdCrM=; X-YMail-OSG: OnIugO4VM1lgWn5V6._cdrdy.0aQGL3.ff8a9z3uLRYEIDMg5OoTqWHfc8a0s5JZHt8M4eTCsXYI0KqnkFoEw3.369gs33EfKVvK4GNtkY9ldANRwi0- Received: from [83.161.120.155] by web30802.mail.mud.yahoo.com via HTTP; Thu, 01 Feb 2007 02:20:15 PST X-Mailer: YahooMailRC/368.3 YahooMailWebService/83.161.120.155 Date: Thu, 1 Feb 2007 02:20:15 -0800 (PST) From: Venky Vasant <dmcfarland@example.org> Subject: Building SOAP enevlopes aroun a regular XML To: dmcfarland@example.org, dmcfarland@example.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hello=0A=0AI have used Apache Axis and have written a client which connects= to webservices and gets response using Invoke, it worked fine for me thank= s for this one.=0A=0AUnfortunately my requirement is to write a client whic= h builds SOAP XML from the regular XML myself and may be read WSDL (i am g= uessing that AXIS read WSDL to create SOAP envelope around the regular XML= ) to add proper namespaces and then use Call method tto get the response. = =0AThis means kind of avoid a upper layer of abstraction=0A=0ALet me know i= f this can be done, if yes let me know how and if there is code i can go th= rough and use for my web-service client=0A=0A=0AThanks,Regards=0AVenkat=0A= =0A=0A =0A_________________________________________________________________= ___________________=0ATV dinner still cooling? =0ACheck out "Tonight's Pick= s" on Yahoo! TV.=0Ahttp://tv.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From dmcfarland@example.org Thu Feb 01 10:21:02 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 93853 invoked from network); 1 Feb 2007 10:21:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 10:21:01 -0000 Received: (qmail 73945 invoked by uid 500); 1 Feb 2007 10:20:51 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 73924 invoked by uid 500); 1 Feb 2007 10:20:50 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 73896 invoked by uid 99); 1 Feb 2007 10:20:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 02:20:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO web30802.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Feb 2007 02:20:40 -0800 Received: (qmail 22650 invoked by uid 60001); 1 Feb 2007 10:20:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=U8UvCpGVOzKzpmSb3FGXC8kJ0manmxWI/jHiQ7AidE53ynlh3TbjMqTqMQJ7zMppuwz6ApN1WYXYXdklvv1juc8NJ5hdlvNlRoG6xEixDsanLqu63uObtcG+Yzpfnxy4jk0LxBxJX1DRbYjCr3dS1tWhq4tGKQfmn5svFsTdCrM=; X-YMail-OSG: OnIugO4VM1lgWn5V6._cdrdy.0aQGL3.ff8a9z3uLRYEIDMg5OoTqWHfc8a0s5JZHt8M4eTCsXYI0KqnkFoEw3.369gs33EfKVvK4GNtkY9ldANRwi0- Received: from [83.161.120.155] by web30802.mail.mud.yahoo.com via HTTP; Thu, 01 Feb 2007 02:20:15 PST X-Mailer: YahooMailRC/368.3 YahooMailWebService/83.161.120.155 Date: Thu, 1 Feb 2007 02:20:15 -0800 (PST) From: Venky Vasant <dmcfarland@example.org> Subject: Building SOAP enevlopes aroun a regular XML To: dmcfarland@example.org, dmcfarland@example.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hello=0A=0AI have used Apache Axis and have written a client which connects= to webservices and gets response using Invoke, it worked fine for me thank= s for this one.=0A=0AUnfortunately my requirement is to write a client whic= h builds SOAP XML from the regular XML myself and may be read WSDL (i am g= uessing that AXIS read WSDL to create SOAP envelope around the regular XML= ) to add proper namespaces and then use Call method tto get the response. = =0AThis means kind of avoid a upper layer of abstraction=0A=0ALet me know i= f this can be done, if yes let me know how and if there is code i can go th= rough and use for my web-service client=0A=0A=0AThanks,Regards=0AVenkat=0A= =0A=0A =0A_________________________________________________________________= ___________________=0ATV dinner still cooling? =0ACheck out "Tonight's Pick= s" on Yahoo! TV.=0Ahttp://tv.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From dmcfarland@example.org Thu Feb 01 12:32:59 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 23665 invoked from network); 1 Feb 2007 12:32:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 12:32:58 -0000 Received: (qmail 6965 invoked by uid 500); 1 Feb 2007 12:32:55 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 6946 invoked by uid 500); 1 Feb 2007 12:32:54 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 6935 invoked by uid 99); 1 Feb 2007 12:32:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 04:32:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 04:32:46 -0800 Received: by wr-out-0506.google.com with SMTP id 67so513867wri for <dmcfarland@example.org>; Thu, 01 Feb 2007 04:32:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Y9fwOqmHnXBoc88ImFwyCxsJoPgCXhiRcrISYWua1U/Bty5A0XNwl/18QdL5T6bRT+Yf/jcbyh6/QktDGndx3zj9nkrklBdPxMiLeV/05JLMp3/ZMfyJ+pwca6nwtHUQ0PO/hMupQeCkKkmzPC3vbADTmfvouLZG8pNpyMyox6Q= Received: by 83.161.120.155 with SMTP id v3mr3081088aga.1170333145163; Thu, 01 Feb 2007 04:32:25 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 1 Feb 2007 04:32:25 -0800 (PST) Message-ID: <dmcfarland@example.org> Date: Thu, 1 Feb 2007 07:32:25 -0500 From: "Davanum Srinivas" <dmcfarland@example.org> Reply-To: dmcfarland@example.org To: dmcfarland@example.org Subject: [Axis2] SAAJ 1.3 status MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Sumedha, I see some JIRA's in WS-Commons with patches. Have all the patches made it to svn? Can you please review and confirm? Folks, When you check in a patch. *PLEASE* resolve the JIRA. thanks, dims --------------------------------------------------------------------- To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From dmcfarland@example.org Thu Feb 01 13:14:07 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 31898 invoked from network); 1 Feb 2007 13:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 13:14:07 -0000 Received: (qmail 42495 invoked by uid 500); 1 Feb 2007 13:14:05 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 42481 invoked by uid 500); 1 Feb 2007 13:14:05 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 42470 invoked by uid 99); 1 Feb 2007 13:14:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:14:05 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:13:56 -0800 Received: by ug-out-1314.google.com with SMTP id j40so453267ugd for <dmcfarland@example.org>; Thu, 01 Feb 2007 05:13:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fwP0LOBmxQLDimpDjhUXlAbfAqYt6eBkJ/29BFmzooIpLSucreO6t0qMPedG33geIpYln79ZHYZV5mjxGpJ4BiDgC7ShlE+iwY2lnfvq9qH3ngQyhbjc9BNiTm/Qv6QJaBIkzoYZJlIHuD7rptqo9RTY/R2yRtljO4I/vgEEesQ= Received: by 83.161.120.155 with SMTP id u15mr589818bue.1170335614647; Thu, 01 Feb 2007 05:13:34 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 1 Feb 2007 05:13:34 -0800 (PST) Message-ID: <dmcfarland@example.org> Date: Thu, 1 Feb 2007 05:13:34 -0800 From: "Jeff Greif" <dmcfarland@example.org> Sender: dmcfarland@example.org To: dmcfarland@example.org Subject: Re: Building SOAP enevlopes aroun a regular XML In-Reply-To: <dmcfarland@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <dmcfarland@example.org> X-Google-Sender-Auth: b04beda0e89667f7 X-Virus-Checked: Checked by ClamAV on apache.org Axis incorporates SAAJ and wsdl4j. The first is used to create and manipulate SOAP envelopes and their content. The second is used to read information from WSDLs. If you Google for these APIs you can find descriptions of how to use them; perhaps they are adequate to your purpose. Axis also provides an example of dynamic invocation which uses the Call interfaces. Jeff On 2/1/07, Venky Vasant <dmcfarland@example.org> wrote: > Hello > > I have used Apache Axis and have written a client which connects to webservices and gets response using Invoke, it worked fine for me thanks for this one. > > Unfortunately my requirement is to write a client which builds SOAP XML from the regular XML myself and may be read WSDL (i am guessing that AXIS read WSDL to create SOAP envelope around the regular XML) to add proper namespaces and then use Call method tto get the response. > This means kind of avoid a upper layer of abstraction > > Let me know if this can be done, if yes let me know how and if there is code i can go through and use for my web-service client > > > Thanks,Regards > Venkat > > > > ____________________________________________________________________________________ > TV dinner still cooling? > Check out "Tonight's Picks" on Yahoo! TV. > http://tv.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dmcfarland@example.org > For additional commands, e-mail: dmcfarland@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From dmcfarland@example.org Thu Feb 01 13:20:20 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 33242 invoked from network); 1 Feb 2007 13:20:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 13:20:19 -0000 Received: (qmail 53603 invoked by uid 500); 1 Feb 2007 13:20:13 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 53581 invoked by uid 500); 1 Feb 2007 13:20:13 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 53570 invoked by uid 99); 1 Feb 2007 13:20:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:20:12 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO damh.smo.uhi.ac.uk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:20:02 -0800 Received: from [83.161.120.155] (sgarbh.smo.uhi.ac.uk [83.161.120.155]) by damh.smo.uhi.ac.uk (Postfix) with ESMTP id 56F803C579 for <dmcfarland@example.org>; Thu, 1 Feb 2007 13:19:18 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <dmcfarland@example.org> References: <dmcfarland@example.org> <dmcfarland@example.org> Content-Type: multipart/alternative; boundary=Apple-Mail-66-902485989 Message-Id: <dmcfarland@example.org> From: Alistair Young <dmcfarland@example.org> Subject: Re: Building SOAP enevlopes aroun a regular XML Date: Thu, 1 Feb 2007 13:15:30 +0000 To: dmcfarland@example.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-66-902485989 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed not sure if this is what you want? This invokes a web service without the wsdl: MessageFactory factory = MessageFactory.newInstance(); SOAPMessage soapMessage = factory.createMessage(); SOAPBody body = soapMessage.getSOAPBody(); body.addDocument(YourXMLDocument); SOAPConnectionFactory conFactory = SOAPConnectionFactory.newInstance(); SOAPConnection soapConnection = conFactory.createConnection(); SOAPMessage soapReply = soapConnection.call(soapMessage, WebServiceURL; Alistair -------------- mov eax,1 mov ebx,0 int 80h On 1 Feb 2007, at 13:13, Jeff Greif wrote: > Axis incorporates SAAJ and wsdl4j. The first is used to create and > manipulate SOAP envelopes and their content. The second is used to > read information from WSDLs. If you Google for these APIs you can > find descriptions of how to use them; perhaps they are adequate to > your purpose. > > Axis also provides an example of dynamic invocation which uses the > Call interfaces. > > Jeff > > On 2/1/07, Venky Vasant <dmcfarland@example.org> wrote: >> Hello >> >> I have used Apache Axis and have written a client which connects >> to webservices and gets response using Invoke, it worked fine for >> me thanks for this one. >> >> Unfortunately my requirement is to write a client which builds >> SOAP XML from the regular XML myself and may be read WSDL (i am >> guessing that AXIS read WSDL to create SOAP envelope around the >> regular XML) to add proper namespaces and then use Call method >> tto get the response. >> This means kind of avoid a upper layer of abstraction >> >> Let me know if this can be done, if yes let me know how and if >> there is code i can go through and use for my web-service client >> >> >> Thanks,Regards >> Venkat >> >> >> >> _____________________________________________________________________ >> _______________ >> TV dinner still cooling? >> Check out "Tonight's Picks" on Yahoo! TV. >> http://tv.yahoo.com/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dmcfarland@example.org >> For additional commands, e-mail: dmcfarland@example.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dmcfarland@example.org > For additional commands, e-mail: dmcfarland@example.org > --Apple-Mail-66-902485989 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; = -khtml-line-break: after-white-space; ">not sure if this is what you = want? This invokes a web service without the wsdl:<DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>MessageFactory factory =3D = MessageFactory.newInstance();</DIV><DIV>SOAPMessage soapMessage =3D = factory.createMessage();</DIV><DIV>SOAPBody body =3D = soapMessage.getSOAPBody();</DIV><DIV>body.addDocument(YourXMLDocument);</D= IV><DIV>SOAPConnectionFactory conFactory =3D = SOAPConnectionFactory.newInstance();</DIV><DIV>SOAPConnection = soapConnection =3D conFactory.createConnection();</DIV><DIV>SOAPMessage = soapReply =3D soapConnection.call(soapMessage, = WebServiceURL;</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>Alistair</DIV><DIV><DIV><SPAN= class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; "><SPAN = class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; "><BR = class=3D"Apple-interchange-newline"><SPAN class=3D"Apple-style-span" = style=3D"border-collapse: separate; border-spacing: 0px 0px; color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant: normal; font-weight: normal; letter-spacing: = normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; "><SPAN = class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; = "><DIV>--------------</DIV><DIV>mov eax,1</DIV><DIV>mov = ebx,0</DIV><DIV>int 80h</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><BR = class=3D"Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN> = </DIV><BR><DIV><DIV>On 1 Feb 2007, at 13:13, Jeff Greif wrote:</DIV><BR = class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">Axis incorporates SAAJ and wsdl4j.<SPAN = class=3D"Apple-converted-space">=A0 </SPAN>The first is used to create = and</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">manipulate SOAP envelopes and = their content.<SPAN class=3D"Apple-converted-space">=A0 </SPAN>The = second is used to</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">read information from = WSDLs.<SPAN class=3D"Apple-converted-space">=A0 </SPAN>If you Google for = these APIs you can</DIV><DIV style=3D"margin-top: 0px; margin-right: = 0px; margin-bottom: 0px; margin-left: 0px; ">find descriptions of how to = use them; perhaps they are adequate to</DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">your = purpose.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">Axis also provides an example of dynamic invocation = which uses the</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">Call interfaces.</DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = ">Jeff</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">On 2/1/07, Venky Vasant &lt;<A = href=3D"mailto:dmcfarland@example.org">dmcfarland@example.org</A>&gt; = wrote:</DIV> <BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = ">Hello</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">I have used Apache Axis and have written a client = which connects to webservices and gets response using Invoke, it worked = fine for me thanks for this one.</DIV><DIV style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: = 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">Unfortunately my requirement is = to write a client which builds<SPAN class=3D"Apple-converted-space">=A0 = </SPAN>SOAP XML from the regular XML myself and may be read WSDL (i am = guessing that AXIS read WSDL<SPAN class=3D"Apple-converted-space">=A0 = </SPAN>to create SOAP envelope around the regular XML) to add proper = namespaces<SPAN class=3D"Apple-converted-space">=A0 </SPAN>and then use = Call method tto get the response.</DIV><DIV style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This means = kind of avoid a upper layer of abstraction</DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Let me know = if this can be done, if yes let me know how and if there is code i can = go through and use for my web-service client</DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = ">Thanks,Regards</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">Venkat</DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: = 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; = ">________________________________________________________________________= ____________</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">TV dinner still = cooling?</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">Check out "Tonight's Picks" on = Yahoo! TV.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; "><A = href=3D"http://tv.yahoo.com">http://tv.yahoo.com</A>/</DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = ">---------------------------------------------------------------------</D= IV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">To unsubscribe, e-mail: <A = href=3D"mailto:dmcfarland@example.org">axis-user-unsubscribe@= ws.apache.org</A></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">For additional commands, e-mail: = <A = href=3D"mailto:dmcfarland@example.org">dmcfarland@example.org<= /A></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = ">---------------------------------------------------------------------</D= IV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">To unsubscribe, e-mail: <A = href=3D"mailto:dmcfarland@example.org">axis-user-unsubscribe@= ws.apache.org</A></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">For additional commands, e-mail: = <A = href=3D"mailto:dmcfarland@example.org">dmcfarland@example.org<= /A></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> = </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>= --Apple-Mail-66-902485989-- From dmcfarland@example.org Thu Feb 01 13:50:07 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 40506 invoked from network); 1 Feb 2007 13:50:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 13:50:07 -0000 Received: (qmail 88796 invoked by uid 500); 1 Feb 2007 13:50:04 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 88781 invoked by uid 500); 1 Feb 2007 13:50:04 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 88764 invoked by uid 99); 1 Feb 2007 13:50:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:50:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO moutng.kundenserver.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:49:55 -0800 Received: from [83.161.120.155] (helo=[83.161.120.155]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1HCcJh3Izf-0004Ez; Thu, 01 Feb 2007 14:49:34 +0100 Message-ID: <dmcfarland@example.org> Date: Thu, 01 Feb 2007 14:50:23 +0100 From: Daniel Kasmeroglu <dmcfarland@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20061207) MIME-Version: 1.0 To: dmcfarland@example.org Subject: Newbie question Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de dmcfarland@example.org login:5505a24024e7732a155470cf55021b44 X-Provags-ID2: V01U2FsdGVkX18k4ja2NFcNDMicWdJMdaVqvqVwOyYkdAq4dH1Lab1wRH2E6xse401QUQ0sg73mCQ0lVi9NwZKkpruzMfGcFP46WG+fDxECtbpKtDelmriFY7AiS1Oo/7xt X-Virus-Checked: Checked by ClamAV on apache.org Hi there, I wasn't able to find the answer in the archive so here's my question: I've generated an Axis2 client which has to connect with a service written in PHP. Calling this service causes a SOAPProcessingException which indicates that the PHP service isn't sending back the proper SOAP message. So I need to know how I can view the raw SOAP message (event if it's defect). Any suggestions (maybe there's a logging switch anywhere but I haven't found it yet) ? Ciao Kasimir --------------------------------------------------------------------- To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From dmcfarland@example.org Thu Feb 01 13:55:57 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 41800 invoked from network); 1 Feb 2007 13:55:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 13:55:57 -0000 Received: (qmail 98538 invoked by uid 500); 1 Feb 2007 13:55:55 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 98527 invoked by uid 500); 1 Feb 2007 13:55:55 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 98516 invoked by uid 99); 1 Feb 2007 13:55:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:55:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:55:46 -0800 Received: by wx-out-0506.google.com with SMTP id h28so515290wxd for <dmcfarland@example.org>; Thu, 01 Feb 2007 05:55:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BYIUJVVCJ7cdCThUhmxc1gVqJotYYu+fR8/mwqPaLYaQAAkbPGboW1Bhkixc0UPice85g2nIw5HQoUD32dJ02iF0yvvYK5zVgF2O68ZmVRen/lut6faf1of/uLE2+5XSX7Z+Isswx+U+SOvQSI4URmn4NE3wHvQ2jp8SHIp2LwI= Received: by 83.161.120.155 with SMTP id o6mr3174705agc.1170338125929; Thu, 01 Feb 2007 05:55:25 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 1 Feb 2007 05:55:25 -0800 (PST) Message-ID: <dmcfarland@example.org> Date: Thu, 1 Feb 2007 08:55:25 -0500 From: "robert lazarski" <dmcfarland@example.org> To: dmcfarland@example.org Subject: Re: Newbie question In-Reply-To: <dmcfarland@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org You can use either the soap monitor - an applet in a browser - or tcpmon . See the docs for more info. HTH, Robert On 2/1/07, Daniel Kasmeroglu <dmcfarland@example.org> wrote: > Hi there, I wasn't able to find the answer in the archive so here's my question: > I've generated an Axis2 client which has to connect with a service written in PHP. Calling this > service causes a SOAPProcessingException which indicates that the PHP service isn't sending back the > proper SOAP message. So I need to know how I can view the raw SOAP message (event if it's defect). > Any suggestions (maybe there's a logging switch anywhere but I haven't found it yet) ? > > Ciao > Kasimir > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dmcfarland@example.org > For additional commands, e-mail: dmcfarland@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From dmcfarland@example.org Thu Feb 01 13:56:06 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 41835 invoked from network); 1 Feb 2007 13:56:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 13:56:05 -0000 Received: (qmail 98583 invoked by uid 500); 1 Feb 2007 13:55:55 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 98563 invoked by uid 500); 1 Feb 2007 13:55:55 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 98544 invoked by uid 99); 1 Feb 2007 13:55:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:55:55 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO damh.smo.uhi.ac.uk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:55:45 -0800 Received: from [83.161.120.155] (sgarbh.smo.uhi.ac.uk [83.161.120.155]) by damh.smo.uhi.ac.uk (Postfix) with ESMTP id 3E38B3C5D7 for <dmcfarland@example.org>; Thu, 1 Feb 2007 13:55:24 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <dmcfarland@example.org> References: <dmcfarland@example.org> Content-Type: multipart/alternative; boundary=Apple-Mail-68-904651975 Message-Id: <dmcfarland@example.org> From: Alistair Young <dmcfarland@example.org> Subject: Re: Newbie question Date: Thu, 1 Feb 2007 13:51:36 +0000 To: dmcfarland@example.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-68-904651975 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed tcpmon lets you see the SOAP on the wire http://ws.apache.org/commons/tcpmon/ Alistair -------------- mov eax,1 mov ebx,0 int 80h On 1 Feb 2007, at 13:50, Daniel Kasmeroglu wrote: > Hi there, I wasn't able to find the answer in the archive so here's > my question: > I've generated an Axis2 client which has to connect with a service > written in PHP. Calling this service causes a > SOAPProcessingException which indicates that the PHP service isn't > sending back the proper SOAP message. So I need to know how I can > view the raw SOAP message (event if it's defect). > Any suggestions (maybe there's a logging switch anywhere but I > haven't found it yet) ? > > Ciao > Kasimir > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dmcfarland@example.org > For additional commands, e-mail: dmcfarland@example.org > --Apple-Mail-68-904651975 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=US-ASCII <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; = -khtml-line-break: after-white-space; ">tcpmon lets you see the SOAP on = the wire<DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV><A = href=3D"http://ws.apache.org/commons/tcpmon/">http://ws.apache.org/commons= /tcpmon/</A></DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV>Alistair</DIV><DIV><BR><DIV> = <SPAN class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; "><SPAN = class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; "><BR = class=3D"Apple-interchange-newline"><SPAN class=3D"Apple-style-span" = style=3D"border-collapse: separate; border-spacing: 0px 0px; color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant: normal; font-weight: normal; letter-spacing: = normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; "><SPAN = class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; = "><DIV>--------------</DIV><DIV>mov eax,1</DIV><DIV>mov = ebx,0</DIV><DIV>int 80h</DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><DIV><BR = class=3D"khtml-block-placeholder"></DIV><BR = class=3D"Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN> = </DIV><BR><DIV><DIV>On 1 Feb 2007, at 13:50, Daniel Kasmeroglu = wrote:</DIV><BR class=3D"Apple-interchange-newline"><BLOCKQUOTE = type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">Hi there, I wasn't able to find = the answer in the archive so here's my question:</DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">I've generated an Axis2 client which has to connect = with a service written in PHP. Calling this service causes a = SOAPProcessingException which indicates that the PHP service isn't = sending back the proper SOAP message. So I need to know how I can view = the raw SOAP message (event if it's defect).</DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">Any suggestions (maybe there's a logging switch = anywhere but I haven't found it yet) ?</DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = ">Ciao</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">Kasimir</DIV><DIV = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; = ">---------------------------------------------------------------------</D= IV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">To unsubscribe, e-mail: <A = href=3D"mailto:dmcfarland@example.org">axis-user-unsubscribe@= ws.apache.org</A></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; ">For additional commands, e-mail: = <A = href=3D"mailto:dmcfarland@example.org">dmcfarland@example.org<= /A></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> = </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>= --Apple-Mail-68-904651975-- From dmcfarland@example.org Thu Feb 01 13:58:48 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 42526 invoked from network); 1 Feb 2007 13:58:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 13:58:48 -0000 Received: (qmail 5213 invoked by uid 500); 1 Feb 2007 13:58:48 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 4975 invoked by uid 500); 1 Feb 2007 13:58:47 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 4964 invoked by uid 99); 1 Feb 2007 13:58:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 05:58:47 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.161.120.155] (HELO web37104.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Feb 2007 05:58:35 -0800 Received: (qmail 13583 invoked by uid 60001); 1 Feb 2007 13:58:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=T5/G4qz2XFXO7xC7MF/fiD5Vj2NaadzayFbq+sBEH4dj+lQYOoF7+X/bJxxHcDKT11wh3QkI0PSRnmZU5z0QHooVWNExpI4bqa7g7GhcXy9BVfJhhQXKeRSl+UdRZQ9dh+g3T23IkZFM1oOaiiVqyWinusoYjwcfkWGwn++evKE=; X-YMail-OSG: zWDGZtQVM1l0WJMhLMuB4R1YYrtlVj995uhdlBjOT_LdHjeoX0NbY_lpVGF.tourPhGaXR93dyRHinsXtq7U6q9GzqZFY73pDxoqCQpwXHlSgYwGaFji7TSn_Bg7AHoZB.HC6SjiBINF9vpkD1y.ls_jeA6lF6Itp1KlHVmpgSqJ8qBvm3ojcchh1kYm Received: from [83.161.120.155] by web37104.mail.mud.yahoo.com via HTTP; Thu, 01 Feb 2007 05:58:14 PST X-Mailer: YahooMailRC/368.3 YahooMailWebService/83.161.120.155 Date: Thu, 1 Feb 2007 05:58:14 -0800 (PST) From: Anwaruddin Syed <dmcfarland@example.org> Subject: How to create Java Client to invoke webservices written in Java using Axis2 To: dmcfarland@example.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1975075857-1170338294=:12704" Message-ID: <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org --0-1975075857-1170338294=:12704 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,=0A=0AI am new to web service development. I need to invoke Web serv= ices written in Java on a Java Client. =0AI have a WSDL file with me.=0A=0A= After generating Client side stubs how should I call this from my Java Clie= nt. I need some inputs on how to organize my Java Client code to invoke the= web services.=0A=0AThanks in Advance!!!=0A=0ARegards=0ASyed=0A=0A=0A =0A__= ___________________________________________________________________________= _______=0AYahoo! Music Unlimited=0AAccess over 1 million songs.=0Ahttp://mu= sic.yahoo.com/unlimited --0-1975075857-1170338294=:12704 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:times new roman, new york, times, serif;= font-size:12pt"><DIV>Hi All,</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>I am new to w= eb service development. I need to invoke Web services written in Java on a = Java Client. </DIV>=0A<DIV>I have a WSDL file with me.</DIV>=0A<DIV>&nbsp;<= /DIV>=0A<DIV>After generating Client side stubs how should I call this from= my Java Client. I need some inputs on how to organize my Java Client code = to invoke the web services.</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>Thanks in Adva= nce!!!</DIV>=0A<DIV>&nbsp;</DIV>=0A<DIV>Regards</DIV>=0A<DIV>Syed</DIV>=0A<= DIV>&nbsp;</DIV></div><br>=0A=0A<hr size=3D1>Any questions? Get answers on= any topic at <a href=3D"http://answers.yahoo.com/;_ylc=3DX3oDMTFvbGNhMGE3B= F9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx= ">Yahoo! Answers</a>. Try it now.</body></html> --0-1975075857-1170338294=:12704-- From dmcfarland@example.org Thu Feb 01 14:46:09 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 62183 invoked from network); 1 Feb 2007 14:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 14:46:09 -0000 Received: (qmail 98875 invoked by uid 500); 1 Feb 2007 14:46:07 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 98863 invoked by uid 500); 1 Feb 2007 14:46:07 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 98852 invoked by uid 99); 1 Feb 2007 14:46:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 06:46:07 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wx-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 06:45:58 -0800 Received: by wx-out-0506.google.com with SMTP id h28so528004wxd for <dmcfarland@example.org>; Thu, 01 Feb 2007 06:45:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KveQNPqLelHsalXue7P1dpPpayo4CQgwlNrt/b0/WSslTfFKKPdkckDk2s0PPG4PPgBf3wHCjEHWFio7Pupgd7Zj6IEja//IgcnsEQIMPZs6PLDe9FILRP7YyJ3CO11zEGbEG0WYZenFpzze1aDEZIqesBRoI3el5DCnlnl3hxo= Received: by 83.161.120.155 with SMTP id c6mr3281730agb.1170341136789; Thu, 01 Feb 2007 06:45:36 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 1 Feb 2007 06:45:36 -0800 (PST) Message-ID: <dmcfarland@example.org> Date: Thu, 1 Feb 2007 14:45:36 +0000 From: "Istvan Orban" <dmcfarland@example.org> To: dmcfarland@example.org Subject: Basic question about using axis for such jobs or not MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5236_14038347.1170341136349" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5236_14038347.1170341136349 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Everyone, I am very new to Web services and Axis, so please bear with me. (once I wrote a simple service which validates some incomming values againts our database.) I am now dealing with a big SOA system and I do not really know where to start. This is the scenario. I have to write a service which will be receiving SOAP messages from a server ( I am subscribing to messages). the message contains some properties and inside the BODY it has an XML file which contains the data I need to process. I have to answer by sending messages back which of course are standard SOAP messages. (some XML content inside the envelope-body). My question is: what technologies should I use here. - should I use AXIS ? (ps I have only written a web-service where you needed to do WSDL etc). - or apache SOAP + CASTOR to deserialize and serialize the xml? if you say, axis is a good way to go, where should I start ? Thanks Istvan ------=_Part_5236_14038347.1170341136349 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Everyone,<br><br>I am very new to Web services and Axis, so please bear with me. (once I wrote a simple service which validates some incomming values againts our database.)<br><br>I am now dealing with a big SOA system and I do not really know where to start. <br><br>This is the scenario.<br><br>I have to write a service which will be receiving SOAP messages from a server ( I am subscribing to messages).<br><br>the message contains some properties and inside the BODY it has an XML file which contains the data I need to process. <br><br>I have to answer by sending messages back which of course are standard SOAP messages. (some XML content inside the envelope-body).<br><br>My question is:<br><br>what technologies should I use here.<br><br>- should I use AXIS ? (ps I have only written a web-service where you needed to do WSDL etc). <br>- or apache SOAP + CASTOR to deserialize and serialize the xml?<br><br>if you say, axis is a good way to go, where should I start ?<br><br>Thanks <br><br>Istvan<br><br><br><br><br> ------=_Part_5236_14038347.1170341136349-- From dmcfarland@example.org Thu Feb 01 15:10:14 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 69095 invoked from network); 1 Feb 2007 15:10:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 15:10:13 -0000 Received: (qmail 46335 invoked by uid 500); 1 Feb 2007 15:10:08 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 46324 invoked by uid 500); 1 Feb 2007 15:10:08 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 46313 invoked by uid 99); 1 Feb 2007 15:10:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:10:07 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO HPSERVER1.office.invenso.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:09:59 -0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C74612.E24CC258" Subject: [Axis2] Rampart configuration X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 1 Feb 2007 16:08:48 +0100 Message-ID: <dmcfarland@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Axis2] Rampart configuration Thread-Index: AcdGEt/lpnnLGjnbTSWuUNnPhbxp4A== From: "Brecht Yperman" <dmcfarland@example.org> To: <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C74612.E24CC258 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I'm trying to migrate security from Axis2 1.0 / Rampart 1.0 to Axis2 1.1/Rampart1.1. =20 I used to use the following construction to hand a reference to a PWCallBack-class to Rampart: =20 client.getOptions().setProperty("passwordCallbackRef", new PasswordCallback(password)); =20 This was, I think, undocumented, but I found this out browsing the sourcecode. Unfortunately the RampartConfig-class only allows you to set a classname (and this is required, according to the XMLSchema), not an instance. =20 Can I still use this way, is there another way around, or should I think of another way of handing the password to the callback? =20 Thanks, Brecht ------_=_NextPart_001_01C74612.E24CC258 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal>Hi,<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>I'm trying to migrate security from Axis2 1.0 / = Rampart 1.0 to Axis2 1.1/Rampart1.1.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>I used to use the following construction to hand a = reference to a PWCallBack-class to Rampart:<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier = New";color:black'>client.getOptions().setProperty(</span><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:#2A00FF'>&quot;passwordCallbackRef&quot;</span><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>,</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp; </span><b><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>new</span></b><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = PasswordCallback(password));<o:p></o:p></span></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>This was, I think, undocumented, but I found this = out browsing the sourcecode.<o:p></o:p></p> <p class=3DMsoNormal>Unfortunately the RampartConfig-class only allows = you to set a classname (and this is required, according to the XMLSchema), not an instance.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Can I still use this way, is there another way = around, or should I think of another way of handing the password to the = callback?<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Thanks,<o:p></o:p></p> <p class=3DMsoNormal>Brecht<o:p></o:p></p> </div> </body> </html> ------_=_NextPart_001_01C74612.E24CC258-- From dmcfarland@example.org Thu Feb 01 15:21:33 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 72250 invoked from network); 1 Feb 2007 15:21:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 15:21:33 -0000 Received: (qmail 68417 invoked by uid 500); 1 Feb 2007 15:21:32 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 68140 invoked by uid 500); 1 Feb 2007 15:21:30 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 68129 invoked by uid 99); 1 Feb 2007 15:21:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:21:30 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:21:21 -0800 Received: by nf-out-0910.google.com with SMTP id o63so812861nfa for <dmcfarland@example.org>; Thu, 01 Feb 2007 07:21:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=JyZNqOUb599iFZ26tvJrZ6qOKB672I2uqPHAj9jEqisE6+utLY8RsJ93kR1hwW4kw2b6168b+/glf79KxKFHcj35R4F4eNwwHrhGNXP5ISXnmTllLmGblbY6sZxUbXCAdxybvjiVV4X+u7D7L5aHkpfRaPa9w1pqLjlktNR6fps= Received: by 83.161.120.155 with SMTP id x5mr4759306nfi.1170343259624; Thu, 01 Feb 2007 07:20:59 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 1 Feb 2007 07:20:59 -0800 (PST) Message-ID: <dmcfarland@example.org> Date: Thu, 1 Feb 2007 20:50:59 +0530 From: "keith chapman" <dmcfarland@example.org> To: dmcfarland@example.org Subject: Re: How to create Java Client to invoke webservices written in Java using Axis2 In-Reply-To: <dmcfarland@example.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5185_29756753.1170343259393" References: <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5185_29756753.1170343259393 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Syed, This article [1] explains how to invoke a service using the generated stub. Hope that it will help you. If you have more question you can try the userguide too. [1] http://wso2.org/library/95 Thanks, Keith. On 2/1/07, Anwaruddin Syed <dmcfarland@example.org> wrote: > > Hi All, > > I am new to web service development. I need to invoke Web services written > in Java on a Java Client. > I have a WSDL file with me. > > After generating Client side stubs how should I call this from my Java > Client. I need some inputs on how to organize my Java Client code to invoke > the web services. > > Thanks in Advance!!! > > Regards > Syed > > > ------------------------------ > Any questions? Get answers on any topic at Yahoo! Answers<http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx>. > Try it now. > -- Keith Chapman WSO2 Inc. Oxygen for Web Services Developers. http://wso2.org/ ------=_Part_5185_29756753.1170343259393 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi <span class="sg">Syed,<br><br>This article [1] explains how to invoke a service using the generated stub. Hope that it will help you. If you have more question you can try the userguide too.<br><br>[1] <a href="http://wso2.org/library/95"> http://wso2.org/library/95</a><br><br>Thanks,<br>Keith.<br></span><br><div><span class="gmail_quote">On 2/1/07, <b class="gmail_sendername">Anwaruddin Syed</b> &lt;<a href="mailto:dmcfarland@example.org">dmcfarland@example.org</a> &gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div>Hi All,</div> <div>&nbsp;</div> <div>I am new to web service development. I need to invoke Web services written in Java on a Java Client. </div> <div>I have a WSDL file with me.</div> <div>&nbsp;</div> <div>After generating Client side stubs how should I call this from my Java Client. I need some inputs on how to organize my Java Client code to invoke the web services.</div> <div>&nbsp;</div> <div>Thanks in Advance!!!</div> <div>&nbsp;</div> <div>Regards</div><span class="sg"> <div>Syed</div></span><span class="ad"> <div>&nbsp;</div></span></div><span class="ad"><br> <hr size="1">Any questions? Get answers on any topic at <a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> Yahoo! Answers</a>. Try it now.</span></div><span class="ad"> </span></blockquote></div><br><br clear="all"><br>-- <br>Keith Chapman<br>WSO2 Inc.<br>Oxygen for Web Services Developers.<br><a href="http://wso2.org/">http://wso2.org/</a> ------=_Part_5185_29756753.1170343259393-- From dmcfarland@example.org Thu Feb 01 15:49:17 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 84824 invoked from network); 1 Feb 2007 15:49:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 15:49:16 -0000 Received: (qmail 15931 invoked by uid 500); 1 Feb 2007 15:49:13 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 15912 invoked by uid 500); 1 Feb 2007 15:49:13 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 15901 invoked by uid 99); 1 Feb 2007 15:49:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:49:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO talk.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:49:03 -0800 Received: from [83.161.120.155] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HCeAy-0002pq-4a for dmcfarland@example.org; Thu, 01 Feb 2007 07:48:40 -0800 Message-ID: <dmcfarland@example.org> Date: Thu, 1 Feb 2007 07:48:40 -0800 (PST) From: mvkirankumar <dmcfarland@example.org> To: dmcfarland@example.org Subject: [AXIS2] Problem while using xmlBeans with AXIS2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dmcfarland@example.org X-Virus-Checked: Checked by ClamAV on apache.org Hi, I tried ADB, but it was not that schema supportive and did not work good for complex schema types. Hence according to DIMS/Anne's suggestion started using xmlBeans for my implementation. xmlBeans is awesome, it creates plent of java files but. I have attached the WSDL, which gives me "Data binding error" when invoked from MS Excel Client. The same MS Excel client works fine for the sample provided in samples directory. SOAP Input: <?xml version='1.0' encoding='utf-8'?> <SOAP-ENV:Envelope xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"> <SOAP-ENV:Body> <SOAPSDK4:update xmlns:SOAPSDK4="http://services.pace.db.com/xsd"> <symbol xmlns="http://securitymaster.pace.db.com/xsd">IBM</symbol> </SOAPSDK4:update> </SOAP-ENV:Body> </SOAP-ENV:Envelope> SOAP Response: <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header /> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Client</faultcode> <faultstring>Data binding error</faultstring> <detail /> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> Please have a look on the attached WSDL and point me, if am doing anything wrong. I just re-used the WSDL that is given in samples. Your help towards this would be very much appreciable. Thanks in advance. Kiran Kumar. http://www.nabble.com/file/6147/SecurityRequestV9.wsdl SecurityRequestV9.wsdl -- View this message in context: http://www.nabble.com/-AXIS2--Problem-while-using-xmlBeans-with-AXIS2-tf3155598.html#a8750515 Sent from the Axis - User mailing list dmcfarland@example.org. --------------------------------------------------------------------- To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From dmcfarland@example.org Thu Feb 01 16:18:28 2007 Return-Path: <dmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 2321 invoked from network); 1 Feb 2007 16:18:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2007 16:18:27 -0000 Received: (qmail 78138 invoked by uid 500); 1 Feb 2007 16:18:25 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 78127 invoked by uid 500); 1 Feb 2007 16:18:25 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk Reply-To: dmcfarland@example.org list-help: <mailto:dmcfarland@example.org> list-unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <axis-user.ws.apache.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 78116 invoked by uid 99); 1 Feb 2007 16:18:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 08:18:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 08:18:17 -0800 Received: by an-out-0708.google.com with SMTP id c2so361138anc for <dmcfarland@example.org>; Thu, 01 Feb 2007 08:17:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gTmCmSnKLBj/rCuoDKvwQL/t8qXpWa1rYeSkOssPNbKwA8zrlb6Bqhyk/8T9HO3GF4sPYOO9nO1SjQ5cm69sKDDmUcKq/qSt9hveVNadbefD6zZlUrGLuHWAYQm4adOaiji8eWZwUydLoqEtni8u/j3lQ6habhS3IpE49f4kcDQ= Received: by 83.161.120.155 with SMTP id m17mr1202499anf.1170346676246; Thu, 01 Feb 2007 08:17:56 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 1 Feb 2007 08:17:56 -0800 (PST) Message-ID: <dmcfarland@example.org> Date: Thu, 1 Feb 2007 11:17:56 -0500 From: "Ajith Ranabahu" <dmcfarland@example.org> To: dmcfarland@example.org Subject: Re: [AXIS2] Problem while using xmlBeans with AXIS2 In-Reply-To: <dmcfarland@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi Kiran, would you have a serverside log or a stacktrace ? All I can think of is that the client request is not formed properly - perhaps certain elements missing ? Ajith On 2/1/07, mvkirankumar <dmcfarland@example.org> wrote: > > Hi, > > I tried ADB, but it was not that schema supportive and did not work good for > complex schema types. > Hence according to DIMS/Anne's suggestion started using xmlBeans for my > implementation. > > xmlBeans is awesome, it creates plent of java files but. > > I have attached the WSDL, which gives me "Data binding error" when invoked > from MS Excel Client. The same MS Excel client works fine for the sample > provided in samples directory. > > SOAP Input: > > <?xml version='1.0' encoding='utf-8'?> > <SOAP-ENV:Envelope > xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" > xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"> > <SOAP-ENV:Body> > <SOAPSDK4:update xmlns:SOAPSDK4="http://services.pace.db.com/xsd"> > <symbol xmlns="http://securitymaster.pace.db.com/xsd">IBM</symbol> > </SOAPSDK4:update> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > SOAP Response: > > <?xml version='1.0' encoding='utf-8'?> > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > <soapenv:Header /> > <soapenv:Body> > <soapenv:Fault> > <faultcode>soapenv:Client</faultcode> > <faultstring>Data binding error</faultstring> > <detail /> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> > > Please have a look on the attached WSDL and point me, if am doing anything > wrong. I just re-used the WSDL that is given in samples. > > Your help towards this would be very much appreciable. > > Thanks in advance. > Kiran Kumar. http://www.nabble.com/file/6147/SecurityRequestV9.wsdl > SecurityRequestV9.wsdl
{'source': 'Apache Software Foundation Public Mail Archives'}