No, because the program crashes at <span style="font-weight: bold;" class="q"> </span><span style="font-weight: bold;">org.apache.axis2.client.OperationClient.execute</span> that is when the soap message is sent. wsdl2java generates by default synchronous and asynchronous calls. We have tested the synchronous versions and the program always crashes at that point.&nbsp; <br>
<br><div><span class="gmail_quote">2008/4/2, Thomas D. Uram &lt;<a href="mailto:turam@mcs.anl.gov">turam@mcs.anl.gov</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
Are you able to view the SOAP data being returned by the VenueServer to
your code?<div><span class="e" id="q_11910c00829fbb6b_1"><br>
<br>
<br>
<br>
On 4/2/08 2:39 PM, Luis Galárraga wrote:
<blockquote type="cite">Greetings Tom:<br>
  <br>
We have not been able to consume the services yet. I have generated
stub and test classes for VenueServer, Venue and VenueClient
interfaces. We have started by testing the simplest methods: Checkpoint
and GetVersion (they are configured to be accessed by everybody). Using
VenueServer or VenueClient, I get:<br>
  <br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><span>Exception in thread &quot;main&quot;
org.apache.axis2.AxisFault: Processing Failure</span><br>
    <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)</span><br>
    <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)</span><br>
    <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)</span><br>
    <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)</span><br>
    <span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)</span><br>
    <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.accessgrid.www.v3_0.venueclient.VenueClientStub.GetVersion(VenueClientStub.java:3587)</span><br>
    <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
test.org.accessgrid.www.v3_0.venueclient.VenueClientTest.main(VenueClientTest.java:597)</span><br>
    <span> </span></blockquote>
  <div><span class="gmail_quote"><br>
The soap request message is:<br>
  <br>
  </span>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><span class="gmail_quote">&lt;?xml version=&#39;1.0&#39;
encoding=&#39;utf-8&#39;?&gt;</span><br>
    <span class="gmail_quote">&lt;soapenv:Envelope xmlns:soapenv=&quot;<a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://schemas.xmlsoap.org/soap/envelope/</a>&quot;&gt;</span><br>

    <span class="gmail_quote">&nbsp;&nbsp;&nbsp; &lt;soapenv:Body&gt;</span><br>
    <span class="gmail_quote">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;ns2:CheckpointRequest
xmlns:ns2=&quot;<a href="http://www.accessgrid.org/v3.0/venueserver" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.accessgrid.org/v3.0/venueserver</a>&quot;&gt;</span><br>
    <span class="gmail_quote">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&lt;ns2:secondsFromNow&gt;12&lt;/ns2:secondsFromNow&gt;</span><br>
    <span class="gmail_quote">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/ns2:CheckpointRequest&gt;</span><br>
    <span class="gmail_quote">&nbsp;&nbsp;&nbsp; &lt;/soapenv:Body&gt;</span><br>
    <span class="gmail_quote">&lt;/soapenv:Envelope&gt;</span><br>
    <span class="gmail_quote"></span></blockquote>
  <span class="gmail_quote"><br>
Checking the log in the server (in debug mode), I just get:<br>
  <br>
  </span>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><span>04/02/08 14:34:56 -1286157424 Hosting&nbsp;&nbsp;&nbsp;&nbsp;
ServiceContainer.py:17 ERROR Processing Failure</span><br>
    <span>None</span><br>
    <span></span></blockquote>
  <span class="gmail_quote"><br>
The log message is not verbose and I do not know the code, but I
suspect there is something missing in my request. <br>
  <br>
Luis,<br>
  <br>
2008/4/2, Luis Galárraga &lt;<a href="mailto:lgalarra@fiec.espol.edu.ec" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lgalarra@fiec.espol.edu.ec</a>&gt;:</span>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks
Tom, in fact I am working now in getting the exact SOAP messages being
sent. I will check the log files of the server.<br>
    <br>
Luis,<br>
    <br>
    <div><span class="gmail_quote">2008/4/2, Thomas D. Uram &lt;<a href="mailto:turam@mcs.anl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">turam@mcs.anl.gov</a>&gt;:</span>
    <div><span>
    <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div bgcolor="#ffffff" text="#000000"><span><br>
      <br>
On 4/1/08 5:15 PM, Luis Galárraga wrote:
      <blockquote type="cite">Greetings:<br>
        <br>
Finally, I could generate stubs for AG soap interfaces
(CommunityVenueServer, VenueServer, Venue and VenueClient)&nbsp; using
wsdl2java with files *Binding.wsdl. I used wsdl files located in CVS
repository instead of requesting wsdl from server. Now I have several
questions:<br>
        <br>
- There was a file generate.py which I ran and generated extra wsdl
files: CommunityServerBinding.wsdl and CommunityServerInterface.wsdl.
What is CommunityServer service for? Searching in Google I understood
that it has security purposes but reading the generated code I cannot
deduce its function. Does this service accept requests in the same port
as VenueServer?<br>
      </blockquote>
      <br>
      </span>You can ignore the CommunityServer code.&nbsp; That was
preliminary and is
not being used.<span><br>
      <blockquote type="cite"><br>
- I configured my server (<a href="http://proyectossw.espol.edu.ec:8000" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">proyectossw.espol.edu.ec:8000</a>)
to accept GetVersionRequests for everybody. But when I invoked this
method for any stub, I get the following message (in this case with
VenueClientStub. Those examples pointed to localhost so I changed them
for my server url):<br>
        <blockquote>Exception in thread &quot;main&quot;
org.apache.axis2.AxisFault:
Processing Failure<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.accessgrid.www.v3_0.venueclient.VenueClientStub.GetVersion(VenueClientStub.java:3586)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
test.org.accessgrid.www.v3_0.venueclient.VenueClientTest.testGetVersion(VenueClientTest.java:352)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
test.org.accessgrid.www.v3_0.venueclient.VenueClientTest.main(VenueClientTest.java:584)<br>
        </blockquote>
      </blockquote>
      </span>I can&#39;t determine anything from this error message,
unfortunately.&nbsp;
Have you looked at the VenueServer log following this call?&nbsp; Can you
look at the SOAP data between the server and client, to get an idea of
the problem?&nbsp; <br>
      <div><span><br>
      <blockquote type="cite"> Does anybody have an idea? Thanks in
advance.<br>
        <br>
Luis,<br>
        <br>
        <br>
        <div><span class="gmail_quote">2008/3/28, Luis Galárraga &lt;<a href="mailto:lgalarra@fiec.espol.edu.ec" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lgalarra@fiec.espol.edu.ec</a>&gt;:</span>
        <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It
looks like there is a problem with WSDL, as I get the following error
when using WSDL2Java, the tool that comes with Axis distribution. I am
using the file obtained by requesting <a href="https://proyectossw.espol.edu.ec:8000/Venues/default?WSDL" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://proyectossw.espol.edu.ec:8000/Venues/default?WSDL</a><br>

The server is using AccessGrid 3.1.<br>
          <br>
          <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">&nbsp;$ ./wsdl2java.sh -uri Venue.wsdl&nbsp; Using
AXIS2_HOME:&nbsp;&nbsp; /home/luis/Desktop/axis2-1.3<br>
&nbsp;Using JAVA_HOME:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/jvm/java-6-sun-1.6.0.03/<br>
Exception in thread &quot;main&quot;
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
WSDL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.&lt;init&gt;(CodeGenerationEngine.java:150)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)<br>
            <span style="font-weight: bold;">Caused by:
javax.wsdl.WSDLException: WSDLException (at /definitions/types):
faultCode=INVALID_WSDL: Encountered illegal extension attribute
&#39;targetNamespace&#39;. Extension attributes must be in a namespace other
than WSDL&#39;s.</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityAttributes(Unknown
Source)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown
Source)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:286)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.&lt;init&gt;(CodeGenerationEngine.java:105)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 2 more<br>
          </blockquote>
          <br>
Regards, <br>
Luis<br>
          <br>
          <div><span class="gmail_quote">2008/3/28, Thomas D. Uram &lt;<a href="mailto:turam@mcs.anl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">turam@mcs.anl.gov</a>&gt;:</span>
          <div><span>
          <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
            <div bgcolor="#ffffff" text="#000000">AG2 did rely on the
Globus
toolkit.<br>
            <br>
AG3 does not rely on the Globus toolkit.&nbsp; We are using Doc-Lit SOAP via
Python ZSI (<a href="http://pywebsvcs.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pywebsvcs.sourceforge.net</a>).&nbsp;
You should be able to consume
these services using other-language SOAP implementations.&nbsp; If not,
something is wrong with our WSDL, ZSI, or your other-language SOAP
implementation.&nbsp; I&#39;ll follow up on your other mail regarding the error
message you&#39;re getting.<br>
            <br>
For what it&#39;s worth, I know other people have consumed the AG web
services using a Java SOAP implementation (you should be able to find
information about this in the mailing list archives).<br>
            <br>
Tom
            <div><span><br>
            <br>
            <br>
            <br>
            <br>
            <br>
On 3/27/08 6:53 PM, Luis Galárraga wrote:
            <blockquote type="cite">Thanks a lot for your help!!. We
understand AG a little
better now :-)<br>
              <br>
Another question: we are trying to consume Venue and VenueServer web
services without success. Now, I understand that as AccessGrid relies
on Globus Toolkit (I have heard about it before, but I understand it
better) we need to construct clients compatible with it. Using JAX-WS
(used by Netbeans IDE) is not a good idea. Am I in the right way??<br>
              <br>
Luis,<br>
              <br>
              <div><span class="gmail_quote">2008/3/27, Thomas D. Uram
&lt;<a href="mailto:turam@mcs.anl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">turam@mcs.anl.gov</a>&gt;:</span>
              <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
                <div bgcolor="#ffffff" text="#000000">Luis:<br>
                <br>
See responses inline.<span><br>
                <br>
On 3/14/08 3:24 PM, Luis Galárraga wrote:
                <blockquote type="cite">Greetings Tom:<br>
                  <br>
First of all, thanks again for your help, I have several questions,
this time related to server certificates. Do the things we were talking
about identity certificates apply to server certificates?. We have a
developer who is working in consuming AG server web services from a
Java Client. He would like to work at home, but unfortunately our
request for opening certain tcp ports was denied because of security
issues. I told him to run server and client in his machine. I had to
make a server certificate request to be able to run the server first
time:<br>
- Is it possible to omit this step?. <br>
                </blockquote>
                </span>The server does require a certificate; this
requirement
cannot be
avoided.<span><br>
                <blockquote type="cite">- If not, is it possible to
create it
with
a tool like
openssl. When starting server from terminal, it asks for a certificate.<br>
                </blockquote>
                </span>You can build up the required certificate state
completely
independent
from the Access Grid Developers CA if you want.&nbsp; In that case, you&#39;ll
have to make sure that the CA cert is installed at both the server and
at client machines.&nbsp; And the CA cert will have to be used to sign the
certificate used to run the server.&nbsp; This is standard PKI practice, so
you should be able to find sufficient references online.&nbsp; If you have
trouble, please ask.<span><br>
                <blockquote type="cite">- Is there a way of exporting a
certificate
from command
line. I have a problem with the certificate management tool (it crashes
unexpectedly. I reported it and there is someone working to provide you
a better report) so I cannot do it through graphical interface.<br>
                </blockquote>
                </span>You can use certmgr.py.&nbsp; In some cases, it will
be
called
certmgr3.py.&nbsp;
After running it, type &#39;help&#39; for a list of available commands.
                <div><span><br>
                <br>
                <blockquote type="cite"><br>
Regards,<br>
Luis<br>
                  <br>
                  <br>
                  <br>
                  <div><span class="gmail_quote">2008/3/13, Thomas D.
Uram
&lt;<a href="mailto:turam@mcs.anl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">turam@mcs.anl.gov</a>&gt;:</span>
                  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Luis:<br>
                    <br>
There are a few things you need to know in this regard:<br>
                    <br>
- By default, AG3 venues do not require that clients have a certificate<br>
to enter.&nbsp;&nbsp;Venues can be optionally configured to require a certificate,<br>
in which case the user must present a certificate that satisfies the<br>
access controls on the venue.<br>
                    <br>
- You can run your own CA and issue your own certificates.&nbsp;&nbsp;In that<br>
case, you&#39;ll need to make sure your clients have both your CA<br>
certificate and their personal certificate.<br>
                    <br>
Otherwise, this is general PKI.&nbsp;&nbsp;If you have other questions, don&#39;t<br>
hesitate to ask.<br>
                    <br>
Tom<br>
                    <br>
                    <br>
On 3/6/08 3:41 PM, Luis Galárraga wrote:<br>
&gt; Greetings:<br>
&gt;<br>
&gt; I am part of project for developing a webinar infraestructure
based on<br>
&gt; Access Grid. After a long discussion in which suggestions in this<br>
&gt; mailing list were strongly considered, we have decided to
implement a<br>
&gt; simple client for venues (in servers 3.x) using Java Web Start
Apps.<br>
&gt; As you can see, there are many things to do, and developers have<br>
&gt; started by making tests with the soap interfaces in the our AG
server,<br>
&gt; however they are not clear about the&nbsp;&nbsp;concepts behind the<br>
&gt; authentication process. We know AG uses digital certificates for<br>
&gt; everything: users and services and those certificates are
generated by<br>
&gt; AG developers (after a process request). Can our developer team<br>
&gt; generate certificates signed by us or it is required your sign?<br>
&gt; Several people in our university will probably use the system so we<br>
&gt; would like to have the privilege to generate the certificates.
Could<br>
&gt; someone explain us in a better way, the technical issues behind<br>
&gt; authentication based on certificates (= how you implemented it)?. I<br>
&gt; hope you can help us.<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; Regards,<br>
&gt; Luis Galárraga<br>
                  </blockquote>
                  </div>
                  <br>
                </blockquote>
                </span></div>
                </div>
              </blockquote>
              </div>
              <br>
            </blockquote>
            </span></div>
            </div>
          </blockquote>
          </span></div>
          </div>
          <br>
        </blockquote>
        </div>
        <br>
      </blockquote>
      </span></div>
      </div>
    </blockquote>
    </span></div>
    </div>
    <br>
  </blockquote>
  </div>
  <br>
</blockquote>
</span></div></div>

</blockquote></div><br>