Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 20366 invoked from network); 29 Mar 2005 09:36:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2005 09:36:15 -0000 Received: (qmail 62742 invoked by uid 500); 29 Mar 2005 09:36:06 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 61858 invoked by uid 500); 29 Mar 2005 09:36:03 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 61842 invoked by uid 99); 29 Mar 2005 09:36:02 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.andronics.co.uk (HELO mail.andronics.com) (212.250.160.252) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 29 Mar 2005 01:36:01 -0800 Received: by mail.andronics.com with Internet Mail Service (5.5.2653.19) id ; Tue, 29 Mar 2005 10:35:15 +0100 Message-ID: <2953DDE3A7BED311BD8B00508B63B4AA12040ADC@mail.andronics.com> From: John McCosker To: "'axis-user@ws.apache.org'" Subject: RE: Service Fails when deploying simple request and response flow handlers Date: Tue, 29 Mar 2005 10:35:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C53442.9C8847B0" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C53442.9C8847B0 Content-Type: text/plain; charset="iso-8859-1" Hi Jane, sorry I am only getting back to you, this was my WSDD prior to solving the problem. the service would just fail with this, but the problem was in my Handler element, Ii should have been very easy mistake to make and spot as the parameter attribute in the service Element takesm ignores the java:. Hope this helps. JP. ------_=_NextPart_001_01C53442.9C8847B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Service Fails when deploying simple request and response = flow handlers

Hi Jane, sorry I am only getting back to you,

this was my WSDD prior to solving the problem.

<deployment xmlns=3D"http://xml.apache.org/axis/wsdd/"
   xmlns:java=3D"http://xml.apache.org/axis/wsdd/providers/java&quo= t;
   xmlns:xsi=3D"http://www.w3c.org/2000/10/XMLSchema-instance"= ;>

 <handler = name=3D"ServiceRequestLogger" = type=3D"neo.axis.handlers.logging.ServiceRequestLogger">
  <parameter = name=3D"performanceLog" = value=3D"c:\cfusionmx\runtime\logs\axis_performance.log"/><= /FONT>
  <parameter name=3D"requestLog" = value=3D"c:\cfusionmx\runtime\logs\axis_request.log"/>
 </handler>
 <handler = name=3D"ServiceResponseLogger" = type=3D"neo.axis.handlers.logging.ServiceResponseLogger">
  <parameter = name=3D"performanceLog" = value=3D"c:\cfusionmx\runtime\logs\axis_performance.log"/><= /FONT>
 </handler>
 
 <service = name=3D"FleetInformation" = provider=3D"java:RPC">
  <requestFlow>
   <handler = type=3D"ServiceRequestLogger"/>
  </requestFlow>
  <responseFlow>
   <handler = type=3D"ServiceResponseLogger"/>
  </responseFlow>
  <parameter name=3D"className" = value=3D"neo.axis.levelOne.FleetInformation"/>
  <parameter = name=3D"allowedMethods" value=3D"getPosition = testConnection initializeSession getOdometer"/>
 </service>
 
</deployment>

the service would just fail with this, but the = problem was in my Handler element,
<handler name=3D"ServiceRequestLogger" = type=3D"neo.axis.handlers.logging.ServiceRequestLogger">

Ii should have been
<handler name=3D"ServiceRequestLogger" = type=3D"java:neo.axis.handlers.logging.ServiceRequestLogger"&g= t;

very easy mistake to make and spot as the parameter = attribute in the service Element takesm ignores
the java:.

Hope this helps.

JP.

------_=_NextPart_001_01C53442.9C8847B0--