<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks,<br>
      <br>
      This the way i've instantiated the object so far, but i was facing
      issue with the WPS instance i try to use.<br>
      I've now seen that the code is working with the Demo 52 North WPS
      url provided by Martin... i've shared with him (outside mailing
      list) the WPS instance url i'm trying to query.<br>
      <br>
      Emmanuel<br>
      <br>
      Le 27/01/2014 15:42, Alexis Manin a écrit :<br>
    </div>
    <blockquote
cite="mid:CACMJXbQFJ_Km=+2rPsjHfx0g4d5zeCjoL1=g_6p_rJKVRPJtdg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Emmanuel,<br>
            <br>
          </div>
          The way you instantiate your object looks fair. here is an
          example of how I generally use WebProcessingServer object : <br>
          <br>
                  final String SERVICE_URL = "<a moz-do-not-send="true"
            href="http://domain.org/yourserver/wpsService">http://domain.org/yourserver/wpsService</a>";<br>
          <br>
                  // Identifier of the process we want.<br>
                  private final static String PROCESS_ID =
          "some-exposed-process";<br>
          <br>
                  //allow reprojection even if grid or bursawolf
          parameters are missing<br>
                  Hints.putSystemDefault(Hints.LENIENT_DATUM_SHIFT,
          Boolean.TRUE);<br>
          <br>
                  //force loading all image readers/writers<br>
                  ImageIO.scanForPlugins();<br>
          <br>
                  //global initialization<br>
                  Setup.initialize(null);<br>
          <br>
                  // Instantiate client :<br>
                  final URL wpsURL = new URL(SERVICE_URL);<br>
                  final WebProcessingServer wpsClient =<br>
                          new WebProcessingServer(wpsURL,
          WebProcessingServer.WPSVersion.v100.getCode());<br>
          <br>
                  // Once initialized, we can ask a description of
          wanted process, using its id.<br>
                  ProcessDescriptor desc =
          wpsClient.getDescriptor(PROCESS_ID);<br>
          <br>
        </div>
        My guess is that, maybe, the 52 north client uses an embedded
        security manager to connect your client to the server. Have you
        tried a getCapabilities request using your navigator, to ensure
        the server does not asks for connexion ?<br clear="all">
        <div>
          <div>
            <div><br>
              -- <br>
              <div dir="ltr">
                <div>Alexis Manin,<br>
                  Développeur JAVA/JEE.<br>
                  Geomatys.<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Geotoolkit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geotoolkit@lists.osgeo.org">Geotoolkit@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geotoolkit">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a></pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <span style="font: 80% Arial,sans-serif;"><b>Emmanuel Blondel</b><br>
      </span>
      <span style="font: 80% Arial,sans-serif;">GIS Consultant<br>
      </span>
      <span style="font: 80% Arial,sans-serif;">Engineer in Agronomy
        & Environment<br>
        <br>
      </span>
      <span style="font: 80% Arial,sans-serif;">Geographic Information
        Systems<br>
        in Agronomy - Environment - Fisheries<br>
        Email: <a class="moz-txt-link-abbreviated" href="mailto:emmanuel.blondel1@gmail.com">emmanuel.blondel1@gmail.com</a> - <a class="moz-txt-link-abbreviated" href="mailto:Emmanuel.Blondel@fao.org">Emmanuel.Blondel@fao.org</a><br>
      </span>
      <a href="http://fr.linkedin.com/in/emmanuelblondel1"
        style="text-decoration:none;"><span style="font: 80%
          Arial,sans-serif; color:#0783B6;"><img
            src="cid:part2.02040005.02050503@gmail.com" alt="View my
            LinkedIn profile" style="vertical-align:middle" width="20"
            height="15" border="0">View my LinkedIn profile</span></a></div>
  </body>
</html>