Loading ...
Sorry, an error occurred while loading the content.

how to turnoff c-gensym? Please take a look

Expand Messages
  • bridg_addikt
    This was posted before and the previous answers did not help. Here is what I am trying to do The webservices are hosted on a weblogic server My perl client
    Message 1 of 2 , Aug 12, 2003
    • 0 Attachment
      This was posted before and the previous answers did not help.
      Here is what I am trying to do
      The webservices are hosted on a weblogic server

      My perl client code is as follows
      $api_server = SOAP::Lite
      -> uri('http://soapserver.mycompany.com/webservices/')
      -> proxy
      ('http://soap.mycomp.com:7001/webservices/TestPackageWS.jws')
      ->autotype(0);

      $hdr = SOAP::Data->name("header" =>
      \SOAP::Data->value(SOAP::Data->name("date"=>
      \"2003-08-12T19:53:32.050Z" ),
      SOAP::Data->name("submitter"=>
      \"ME"),
      SOAP::Data->name("submitterTransactionId"=>
      \10),
      SOAP::Data->name("attemptNumber" =>
      \1),
      SOAP::Data->name("method" =>
      \"SOAP"))),
      SOAP::Data->name("testInput"=>
      \SOAP::Data->value(SOAP::Data->name("inputID"=>
      \20)))->type('');

      $api_server->request($hdr);


      Here is what the weblogic server is logging
      <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-
      ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-
      ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-
      ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-
      ENV:Body><namesp2:request
      xmlns:namesp2="http://soapserver.mycompany.com/webservices/"><header><
      date><c-gensym5>2003-08-12T19:53:32.050Z</c-
      gensym5></date><submitter><c-gensym7>ME</c-
      gensym7></submitter><submitterTransactionId><c-gensym9>10</c-
      gensym9></submitterTransactionId><attemptNumber><c-gensym11>1</c-
      gensym11></attemptNumber><method><c-gensym13>SOAP</c-
      gensym13></method></header></namesp2:request></SOAP-ENV:Body></SOAP-
      ENV:Envelope>

      I still cant understang why there are these c-gensym?? I just want to
      turn them off. I even tried
      use SOAP::Lite (maptype={},autotype=>0);
      It did not work either.

      Please help
    • eric-amick@comcast.net
      ... I believe you ve got too many references. The ones preceding the SOAP::Data- ... -- Eric Amick Columbia, MD
      Message 2 of 2 , Aug 13, 2003
      • 0 Attachment
        > This was posted before and the previous answers did not help.
        > Here is what I am trying to do
        > The webservices are hosted on a weblogic server
        >
        > My perl client code is as follows
        > $api_server = SOAP::Lite
        > -> uri('http://soapserver.mycompany.com/webservices/')
        > -> proxy
        > ('http://soap.mycomp.com:7001/webservices/TestPackageWS.jws')
        > ->autotype(0);
        >
        > $hdr = SOAP::Data->name("header" =>
        > \SOAP::Data->value(SOAP::Data->name("date"=>
        > \"2003-08-12T19:53:32.050Z" ),
        > SOAP::Data->name("submitter"=>
        > \"ME"),
        > SOAP::Data->name("submitterTransactionId"=>
        > \10),
        > SOAP::Data->name("attemptNumber" =>
        > \1),
        > SOAP::Data->name("method" =>
        > \"SOAP"))),
        > SOAP::Data->name("testInput"=>
        > \SOAP::Data->value(SOAP::Data->name("inputID"=>
        > \20)))->type('');
        >
        > $api_server->request($hdr);

        I believe you've got too many references. The ones preceding the SOAP::Data-
        >value calls are fine; it's the ones preceding the arguments to SOAP::Data-
        >name that need to go.

        --
        Eric Amick
        Columbia, MD
      Your message has been successfully submitted and would be delivered to recipients shortly.