[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    Re: Problem getting samples to work
From:       "Jaliya Ekanayake" <jnekanayake () gmail ! com>
Date:       2007-09-27 17:43:45
Message-ID: 00ef01c8012d$f911d270$4001a8c0 () JALILAP
[Download RAW message or body]

Hi,

Yes, this seems to be a known problem due to not having the correct property in the \
resource file. So please try the example with Axis2 1.3 and Sandesha2 1.3 branch. \
http://svn.apache.org/repos/asf/webservices/sandesha/branches/sandesha2/java/1_3

Thanks,
-jaliya
  ----- Original Message ----- 
  From: David Melgar 
  To: David Melgar 
  Cc: sandesha-dev@ws.apache.org 
  Sent: Wednesday, September 26, 2007 12:55 AM
  Subject: Re: Problem getting samples to work



  Anyone there? Haven't seen any activity on the mailing list. 

  In UserguideEchoClient I had to add code to set the wsa:Action. I also changed the \
client_axis2.xml in the client_repo to give axis a different port number other than \
8080. That got me through two problems, but now I'm getting this error which I \
haven't been able to resolve. 

  The ServiceClass object does not implement the required method in the following \
form: OMElement {0}(OMElement e) 

  As far as I can tell, the signature for the service looks ok. 
  Any suggestions? 

  And how can I intercept the reply using tcpmon? I need to change the port in the \
outgoing replyTo header. 



        David Melgar/Raleigh/IBM@IBMUS 
        09/25/07 11:01 PM 
       To David Melgar/Raleigh/IBM@IBMUS  
              cc sandesha-dev@ws.apache.org  
              Subject Re: Problem getting samples to work 

              

       




  I had commented out engaging sandesha2 to debug the problem. Once I re-enabled it, \
the ping sample worked. 


        David Melgar/Raleigh/IBM@IBMUS 
        09/25/07 10:53 PM 
       
              To  
              cc sandesha-dev@ws.apache.org  
              Subject Re: Problem getting samples to work 


              

       





  I've waded through and found that axis2 really doesnt like the action being set in \
UserguidePingClient to "urn:wsrm:Ping". It does like "urn:ping". 

  If I change that I then get the next ominous sounding error, 
        <soapenv:Fault> 
            <faultcode>soapenv:Client</faultcode> 
            <faultstring>RawXMLMessageReceiver can not handle this scenario since \
ServiceClass has implemented to take Non OMElement as method arguments.</faultstring> \
  <detail /> 
         </soapenv:Fault> 

  Am I running the right level of code? 

  What is the recommended set of code to try and get sandesha2 running? 
  Is this the best place to be asking? 

  Thanks 

        David Melgar/Raleigh/IBM@IBMUS 
        09/25/07 01:53 PM 
       
              To sandesha-dev@ws.apache.org  
              cc  
              Subject Problem getting samples to work 



              

       






  Hello, 
  I'm trying to run the sample programs included with sandesha2-1.2 as described in \
http://ws.apache.org/sandesha/sandesha2/userGuide.html. I downloaded axis2-1.2 and \
sandesha2-1.2 binary images from the respective websites.   I've installed axis2-1.2, \
sandesha2-1.2, deployed them to tomcat, created the SimpleService, created the client \
programs. I have tcpmon listening on 8070 and routing to 8080 even though that was \
not stated in the user guide.   When I try the ping client, I see a create sequence \
request go across and an appropriate response coming back. A ping request is then \
sent, but a fault is generated.   <soapenv:Fault> 
           <faultcode>soapenv:Client</faultcode> 
           <faultstring>java.util.MissingResourceException: Can't find resource for \
bundle org.apache.axis2.i18n.ProjectResourceBundle, key \
spec.FAULT_ACTION_NOT_SUPPORTED_REASON</faultstring>   <detail /> 
        </soapenv:Fault> 

  When I try the echo client, I get the following exception 
  Sep 25, 2007 1:48:24 PM \
org.apache.axis2.transport.http.server.DefaultConnectionListenerFailureHandler failed \
  WARNING: Attempt number 1 of 10 to reestalish connection listener \
org.apache.axis2.transport.http.server.DefaultConnectionListener@8d0a11 due to \
failure   java.net.BindException: Address already in use 

  What address is it referring to? 
  In this case a CreateSequence request is sent, but no response is received. 

  Any ideas what maybe wrong? 
  Thanks 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Yes, this seems to be a known problem due to not 
having the correct property in the resource file.</FONT></DIV>
<DIV><FONT face=Arial size=2>So please try the example with Axis2 1.3 and 
Sandesha2 1.3 branch. <A 
href="https://svn.apache.org/repos/asf/webservices/sandesha/branches/sandesha2/java/1_ \
3">http://svn.apache.org/repos/asf/webservices/sandesha/branches/sandesha2/java/1_3</A></FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>-jaliya</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message \
----- </DIV>  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=dmelgar@us.ibm.com href="mailto:dmelgar@us.ibm.com">David Melgar</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=dmelgar@us.ibm.com 
  href="mailto:dmelgar@us.ibm.com">David Melgar</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=sandesha-dev@ws.apache.org 
  href="mailto:sandesha-dev@ws.apache.org">sandesha-dev@ws.apache.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, September 26, 2007 12:55 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Problem getting samples to 
  work</DIV>
  <DIV><BR></DIV><BR><FONT face=sans-serif size=2>Anyone there? Haven't seen any 
  activity on the mailing list.</FONT> <BR><BR><FONT face=sans-serif size=2>In 
  UserguideEchoClient I had to add code to set the wsa:Action. I also changed 
  the client_axis2.xml in the client_repo to give axis a different port number 
  other than 8080. That got me through two problems, but now I'm getting this 
  error which I haven't been able to resolve.</FONT> <BR><BR><FONT face=Monaco 
  color=red size=2>The ServiceClass object does not implement the required 
  method in the following form: OMElement {0}(OMElement e)</FONT> <BR><BR><FONT 
  face=sans-serif size=2>As far as I can tell, the signature for the service 
  looks ok.</FONT> <BR><FONT face=sans-serif size=2>Any suggestions?</FONT> 
  <BR><BR><FONT face=sans-serif size=2>And how can I intercept the reply using 
  tcpmon? I need to change the port in the outgoing replyTo header.</FONT> 
  <BR><BR><BR><BR>
  <TABLE width="100%">
    <TBODY>
    <TR vAlign=top>
      <TD width="40%"><FONT face=sans-serif size=1><B>David 
        Melgar/Raleigh/IBM@IBMUS</B> </FONT>
        <P><FONT face=sans-serif size=1>09/25/07 11:01 PM</FONT> </P>
      <TD width="59%">
        <TABLE width="100%">
          <TBODY>
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
            <TD><FONT face=sans-serif size=1>David 
              Melgar/Raleigh/IBM@IBMUS</FONT> 
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
            <TD><FONT face=sans-serif size=1>sandesha-dev@ws.apache.org</FONT> 

          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
            <TD><FONT face=sans-serif size=1>Re: Problem getting samples to 
              work</FONT></TR></TBODY></TABLE><BR>
        <TABLE>
          <TBODY>
          <TR vAlign=top>
            <TD>
            <TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT 
  face=sans-serif size=2><BR>I had commented out engaging sandesha2 to debug the 
  problem. Once I re-enabled it, the ping sample worked.</FONT><FONT size=3> 
  <BR><BR><BR></FONT>
  <TABLE width="100%">
    <TBODY>
    <TR vAlign=top>
      <TD width="45%"><FONT face=sans-serif size=1><B>David 
        Melgar/Raleigh/IBM@IBMUS</B> </FONT>
        <P><FONT face=sans-serif size=1>09/25/07 10:53 PM</FONT><FONT size=3> 
        </FONT></P>
      <TD width="54%"><BR>
        <TABLE width="100%">
          <TBODY>
          <TR vAlign=top>
            <TD width="17%">
              <DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
            <TD width="82%">
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
            <TD><FONT face=sans-serif 
              size=1>sandesha-dev@ws.apache.org</FONT><FONT size=3> </FONT>
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
            <TD><FONT face=sans-serif size=1>Re: Problem getting samples to 
              work</FONT></TR></TBODY></TABLE><BR><BR>
        <TABLE>
          <TBODY>
          <TR vAlign=top>
            <TD>
            <TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><FONT 
  size=3><BR><BR></FONT><FONT face=sans-serif size=2><BR><BR>I've waded through 
  and found that axis2 really doesnt like the action being set in 
  UserguidePingClient to "urn:wsrm:Ping". It does like "urn:ping".</FONT><FONT 
  size=3> </FONT><FONT face=sans-serif size=2><BR><BR>If I change that I then 
  get the next ominous sounding error, <BR>&nbsp; &nbsp; &nbsp; 
  &lt;soapenv:Fault&gt;</FONT><FONT size=3> </FONT><FONT face=sans-serif 
  size=2><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &lt;faultcode&gt;soapenv:Client&lt;/faultcode&gt;</FONT><FONT size=3> 
  </FONT><FONT face=sans-serif size=2><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &lt;faultstring&gt;RawXMLMessageReceiver can not handle this scenario since 
  ServiceClass has implemented to take Non OMElement as method 
  arguments.&lt;/faultstring&gt;</FONT><FONT size=3> </FONT><FONT 
  face=sans-serif size=2><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;detail 
  /&gt;</FONT><FONT size=3> </FONT><FONT face=sans-serif size=2><BR>&nbsp; 
  &nbsp; &nbsp; &nbsp;&lt;/soapenv:Fault&gt;</FONT><FONT size=3> </FONT><FONT 
  face=sans-serif size=2><BR><BR>Am I running the right level of 
  code?</FONT><FONT size=3> </FONT><FONT face=sans-serif size=2><BR><BR>What is 
  the recommended set of code to try and get sandesha2 running?</FONT><FONT 
  size=3> </FONT><FONT face=sans-serif size=2><BR>Is this the best place to be 
  asking?</FONT><FONT size=3> </FONT><FONT face=sans-serif 
  size=2><BR><BR>Thanks</FONT><FONT size=3> <BR><BR></FONT>
  <TABLE width="100%">
    <TBODY>
    <TR vAlign=top>
      <TD width="47%"><FONT face=sans-serif size=1><B>David 
        Melgar/Raleigh/IBM@IBMUS</B> </FONT>
        <P><FONT face=sans-serif size=1>09/25/07 01:53 PM</FONT><FONT size=3> 
        </FONT></P>
      <TD width="52%"><BR>
        <TABLE width="100%">
          <TBODY>
          <TR vAlign=top>
            <TD width="19%">
              <DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
            <TD width="80%"><FONT face=sans-serif 
              size=1>sandesha-dev@ws.apache.org</FONT><FONT size=3> </FONT>
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
            <TD>
          <TR vAlign=top>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
            <TD><FONT face=sans-serif size=1>Problem getting samples to 
              work</FONT></TR></TBODY></TABLE><BR><FONT size=3><BR></FONT><BR>
        <TABLE>
          <TBODY>
          <TR vAlign=top>
            <TD>
            <TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><FONT 
  size=3><BR><BR></FONT><FONT face=sans-serif 
  size=2><BR><BR><BR>Hello,</FONT><FONT size=3> </FONT><FONT face=sans-serif 
  size=2><BR>I'm trying to run the sample programs included with sandesha2-1.2 
  as described in http://ws.apache.org/sandesha/sandesha2/userGuide.html. I 
  downloaded axis2-1.2 and sandesha2-1.2 binary images from the respective 
  websites.</FONT><FONT size=3> </FONT><FONT face=sans-serif size=2><BR>I've 
  installed axis2-1.2, sandesha2-1.2, deployed them to tomcat, created the 
  SimpleService, created the client programs. I have tcpmon listening on 8070 
  and routing to 8080 even though that was not stated in the user 
  guide.</FONT><FONT size=3> </FONT><FONT face=sans-serif size=2><BR>When I try 
  the ping client, I see a create sequence request go across and an appropriate 
  response coming back. A ping request is then sent, but a fault is 
  generated.</FONT><FONT size=3> </FONT><FONT face=sans-serif size=2><BR>&nbsp; 
  &nbsp; &nbsp; &lt;soapenv:Fault&gt;</FONT><FONT size=3> </FONT><FONT 
  face=sans-serif size=2><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp;&lt;faultcode&gt;soapenv:Client&lt;/faultcode&gt;</FONT><FONT size=3> 
  </FONT><FONT face=sans-serif size=2><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp;&lt;faultstring&gt;java.util.MissingResourceException: Can't find 
  resource for bundle org.apache.axis2.i18n.ProjectResourceBundle, key 
  spec.FAULT_ACTION_NOT_SUPPORTED_REASON&lt;/faultstring&gt;</FONT><FONT size=3> 
  </FONT><FONT face=sans-serif size=2><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp;&lt;detail /&gt;</FONT><FONT size=3> </FONT><FONT face=sans-serif 
  size=2><BR>&nbsp; &nbsp; &nbsp; &lt;/soapenv:Fault&gt;</FONT><FONT size=3> 
  </FONT><FONT face=sans-serif size=2><BR><BR>When I try the echo client, I get 
  the following exception</FONT><FONT size=3> </FONT><FONT face=Monaco color=red 
  size=2><BR>Sep 25, 2007 1:48:24 PM 
  org.apache.axis2.transport.http.server.DefaultConnectionListenerFailureHandler 
  failed</FONT><FONT size=3> </FONT><FONT face=Monaco color=red 
  size=2><BR>WARNING: Attempt number 1 of 10 to reestalish connection listener 
  org.apache.axis2.transport.http.server.DefaultConnectionListener@8d0a11 due to 
  failure </FONT><FONT face=Monaco color=#000080 
  size=2><U><BR>java.net.BindException</U></FONT><FONT face=Monaco color=red 
  size=2>: Address already in use</FONT><FONT size=3> </FONT><FONT 
  face=sans-serif size=2><BR><BR>What address is it referring to?</FONT><FONT 
  size=3> </FONT><FONT face=sans-serif size=2><BR>In this case a CreateSequence 
  request is sent, but no response is received.</FONT><FONT size=3> </FONT><FONT 
  face=sans-serif size=2><BR><BR>Any ideas what maybe wrong?</FONT><FONT size=3> 
  </FONT><FONT face=sans-serif size=2><BR>Thanks</FONT><FONT size=3> 
</FONT><BR></BLOCKQUOTE></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic