Webservice : priority

Hi,
is it possible to assign a priority to an Abap webservice ( comparable to the threading mechanism in java ? ) .
thank you,
Rolf.

Hi Rolf,
pls explain what you wana have with ABAP web sevices ?
Regads,

Similar Messages

  • OIM Log file DEBUG isn't showing up

    Hi All,
    I have the following in some java code:
    this.logger = Logger.getLogger("Flat File Reconciliation");
    and I'm trying to change the log output to show DEBUg messages, currently it only shows INFO.
    I have added:
    <category name="Flat File Reconciliation">
    <priority value="DEBUG"/>
    </category>
    to my jboss log4j.xml file, restarted OIM, but I still only see INFO [FLAT FILE RECONCILIATION] in the log. What am I doing wrong?
    Thank you very much
    Alex

    So I added
    log4j.logger.FLAT FILE RECONCILIATION=DEBUG
    to my log.properties file but still no go. I thought this file isn't used if using jboss?
    Here is my log4j.xml file in case someone picks up a bad configuration:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <!-- ===================================================================== -->
    <!-- -->
    <!-- Log4j Configuration -->
    <!-- -->
    <!-- ===================================================================== -->
    <!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
    <!--
    | For more configuration infromation and examples see the Jakarta Log4j
    | owebsite: http://jakarta.apache.org/log4j
    -->
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
    <!-- ================================= -->
    <!-- Preserve messages in a local file -->
    <!-- ================================= -->
    <!-- A time/date based rolling appender -->
    <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
    <param name="Append" value="false"/>
    <!-- Rollover at midnight each day -->
    <param name="DatePattern" value="'.'yyyy-MM-dd"/>
    <!-- Rollover at the top of each hour
    <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
    -->
    <layout class="org.apache.log4j.PatternLayout">
    <!-- The default pattern: Date Priority [Category] Message\n -->
    <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
    <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
    <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
    -->
    </layout>
    </appender>
    <!-- A size based file rolling appender
    <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
    <param name="Append" value="false"/>
    <param name="MaxFileSize" value="500KB"/>
    <param name="MaxBackupIndex" value="1"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
    </layout>     
    </appender>
    -->
    <!-- ============================== -->
    <!-- Append messages to the console -->
    <!-- ============================== -->
    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="Target" value="System.out"/>
    <param name="Threshold" value="INFO"/>
    <layout class="org.apache.log4j.PatternLayout">
    <!-- The default pattern: Date Priority [Category] Message\n -->
    <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
    </layout>
    </appender>
    <!-- ====================== -->
    <!-- More Appender examples -->
    <!-- ====================== -->
    <!-- Buffer events and log them asynchronously
    <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <appender-ref ref="FILE"/>
    <appender-ref ref="CONSOLE"/>
    <appender-ref ref="SMTP"/>
    </appender>
    -->
    <!-- EMail events to an administrator
    <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="Threshold" value="ERROR"/>
    <param name="To" value="[email protected]"/>
    <param name="From" value="[email protected]"/>
    <param name="Subject" value="JBoss Sever Errors"/>
    <param name="SMTPHost" value="localhost"/>
    <param name="BufferSize" value="10"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
    </layout>
    </appender>
    -->
    <!-- Syslog events
    <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="Facility" value="LOCAL7"/>
    <param name="FacilityPrinting" value="true"/>
    <param name="SyslogHost" value="localhost"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
    </layout>
    </appender>
    -->
    <!-- Log events to JMS (requires a topic to be created)
    <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="Threshold" value="ERROR"/>
    <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
    <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
    </appender>
    -->
    <!-- Log events through SNMP
    <appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
    <param name="ManagementHost" value="127.0.0.1"/>
    <param name="ManagementHostTrapListenPort" value="162"/>
    <param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
    <param name="LocalIPAddress" value="127.0.0.1"/>
    <param name="LocalTrapSendPort" value="161"/>
    <param name="GenericTrapType" value="6"/>
    <param name="SpecificTrapType" value="12345678"/>
    <param name="CommunityString" value="public"/>
    <param name="ForwardStackTraceWithTrap" value="true"/>
    <param name="Threshold" value="DEBUG"/>
    <param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
    </layout>
    </appender>
    -->
    <!-- Emit events as JMX notifications
    <appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="Threshold" value="WARN"/>
    <param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d %-5p [%c] %m"/>
    </layout>
    </appender>
    -->
    <!-- ================ -->
    <!-- Limit categories -->
    <!-- ================ -->
    <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
    <category name="org.apache">
    <priority value="INFO"/>
    </category>
    <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
    <category name="org.jgroups">
    <priority value="WARN"/>
    </category>
    <!-- Limit jboss axis to INFO as its DEBUG is even more verbose -->
    <category name="org.jboss.axis">
    <priority value="INFO"/>
    </category>
    <!-- Limit JBoss categories
    <category name="org.jboss">
    <priority value="INFO"/>
    </category>
    -->
    <!-- Limit the JSR77 categories -->
    <category name="org.jboss.management">
    <priority value="INFO"/>
    </category>
    <!-- Limit JBoss webservice category
    <category name="org.jboss.webservice">
    <priority value="DEBUG"/>
    </category>
    -->
    <!-- Decrease the priority threshold for the org.jboss.varia category
    <category name="org.jboss.varia">
    <priority value="DEBUG"/>
    </category>
    -->
    <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
    <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
    <priority value="TRACE" class="org.jboss.logging.XLevel"/>
    </category>
    -->
    <!--
    | An example of enabling the custom TRACE level priority that is used
    | by the JBoss internals to diagnose low level details. This example
    | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
    | subpackages. This will produce A LOT of logging output.
    <category name="org.jboss.system">
    <priority value="TRACE" class="org.jboss.logging.XLevel"/>
    </category>
    <category name="org.jboss.ejb.plugins">
    <priority value="TRACE" class="org.jboss.logging.XLevel"/>
    </category>
    -->
    <!--
    | Logs these events to SNMP:
    - server starts/stops
    - cluster evolution (node death/startup)
    - When an EJB archive is deployed (and associated verified messages)
    - When an EAR archive is deployed
    <category name="org.jboss.system.server.Server">
    <priority value="INFO" />
    <appender-ref ref="TRAP_LOG"/>
    </category>
    <category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
    <priority value="INFO" />
    <appender-ref ref="TRAP_LOG"/>
    </category>
    <category name="org.jboss.deployment.MainDeployer">
    <priority value="ERROR" />
    <appender-ref ref="TRAP_LOG"/>
    </category>
    <category name="org.jboss.ejb.EJBDeployer">
    <priority value="INFO" />
    <appender-ref ref="TRAP_LOG"/>
    </category>
    <category name="org.jboss.deployment.EARDeployer">
    <priority value="INFO" />
    <appender-ref ref="TRAP_LOG"/>
    </category>
    -->
    <!-- ======================= -->
    <!-- Setup the Root category -->
    <!-- ======================= -->
    <category name="XELLERATE.DDM">
    <priority value="DEBUG"/>
    </category>
    <category name="Flat File Reconciliation">
    <priority value="DEBUG"/>
    </category>
    <category name="XELLERATE">
    <priority value="WARN"/>
    </category>
    <category name="com.nexaweb.server">
    <priority value="WARN"/>
    </category>
    <root>
    <appender-ref ref="CONSOLE"/>
    <appender-ref ref="FILE"/>
    </root>
    <!-- Clustering logging -->
    <!-- Uncomment the following to redirect the org.jgroups and
    org.jboss.ha categories to a cluster.log file.
    <appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
    <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
    <param name="File" value="${jboss.server.home.dir}/log/cluster.log"/>
    <param name="Append" value="false"/>
    <param name="MaxFileSize" value="500KB"/>
    <param name="MaxBackupIndex" value="1"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
    </layout>
    </appender>
    <category name="org.jgroups">
    <priority value="DEBUG" />
    <appender-ref ref="CLUSTER"/>
    </category>
    <category name="org.jboss.ha">
    <priority value="DEBUG" />
    <appender-ref ref="CLUSTER"/>
    </category>
    -->
    </log4j:configuration>

  • Calling a WebService from a BSP

    Hi,
    I have to call a web service published in another web server from a BSP (SAP WAS 620). I know how to use the WAS as client and I also know how to create the XML. The problem is that I dont know if there is some technique or function module or something like this to create the SOAP message to send to the webservice publisher (something to automate the process).
    Also If someone has some code to share it will be welcome...
    Thanks
    Ariel
    Message was edited by: Ariel Ferreiro

    The following is the code example.  We just put all of our input parameters on the request URL.  The response body then contains the results which we parse out.  This is very similar to the HTTP interface to SAP's own content and cache server.  This example happens to be a SMS Message Provider in Eastern Eurpoe.
    data:  client    type ref to if_http_client,
             url       type string.
    ****Build the Sending URL
      concatenate
        page_srv-send_url
        `&Message=`
        message
        `&Class=`
        class
        `&Number=`
        sms_number
        `&Priority=`
        priority
        `&Project=`
        page_srv-project_name
        `&Sendingnumber=`
        page_srv-sending_number
        into url.
    ****Create the HTTP client
      call method cl_http_client=>create_by_url
        exporting
          url    = url
          ssl_id = page_srv-ssl_id
        importing
          client = client
        exceptions
          others = 1.
    ****Set the Request type to GET
      client->request->set_header_field( name  = '~request_method'
                                 value = 'GET' ).               "#EC *
    ****Make the call
      client->send( ).
    ****Receive the Response Object
      call method client->receive
        exceptions
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3
          others                     = 4.
    ****Get the response content in Character format
      p_content = client->response->get_cdata( ).
      data: result_string type string,
            id_string     type string,
            junk          type string.
    ****Pull out the Result and the ID
      split p_content at `&` into result_string id_string.
      if result_string cs `Result`.
        split result_string at `=` into junk status.
      else.
        raise unknown_error.
      endif.
    Hope this helps.

  • SOAP Webservice returns Array - how to setup Xcelsius?

    Hello,
    after a lot of tests I have recognized that Xcelsius is not able to handle Webservices which return arrays with an undefined size. So I edited the schema file in the way that the size is defined.
    Here is an extract of the schema file:
    <xsd:sequence>
                <xsd:element name="row0" type="tns:Row" maxOccurs="10" minOccurs="10" ></xsd:element>
    </xsd:sequence>
    With that configuration Xcelsius is able to import the wsdl. But the preview window is showing only one Row Folder, I have excpected "10".  My question is, is my config the right way to handle arrays with Xcelsius and when it is, how I have to set up the range in the Excel Map to make the data avaiable???
    Thank you in advance.
    Best regards,
    Conrad

    Here is an example, you can compare what is different. From the look of it the recipient info is missing from yours. Does it say which INI option is missing when you get an error?
    <doPublishRequest xsi:type="doPublishReq_Import" xmlns="http://webservices.docucorp.com/ewps/schema/2005-12-01">
            <LibraryId>CONFIGNAME</LibraryId>
            <DistributionOptions xsi:type="DistributionOptions_ADHOC" source="ADHOC">
              <Priority>REALTIME</Priority>
              <Channel xsi:type="Channel_IMMEDIATE">
                <PublishType>PDF</PublishType>
                <DistributionType>IMMEDIATE</DistributionType>
                <Disposition location="ATTACH" />
                <Recipient name="ORIGINAL">
                  <Props>
                    <Prop name="" />
                  </Props>
                  <Copies />
                  <Story StoryName="" id="" alias="" />
                </Recipient>
              </Channel>
            </DistributionOptions>
            <SourceType>IMPORT</SourceType>
            <Import>
              <ImportFile xsi:type="ImportFile_ATTACH" d6p1:contentType="" location="ATTACH" xmlns:d6p1="http://www.w3.org/2005/05/xmlmime">O05hdXRpbH.......</ImportFile>
            </Import>
          </doPublishRequest>

  • SOAP Response Message Format for APEX Webservice

    Hi,
    Can anyone from Oracle post it here about the exact format of the response message from webservice in order to build a report on top of this?
    I have this format which is not working
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <getRecordsResponse xmlns="http://www.service-now.com/incident">
    <getRecordsResult>
    <active>0</active>
    <activity_due/>
    <approval>not requested</approval>
    <approval_set/>
    <assigned_to>f298d2d2c611227b0106c6be7f154bc8</assigned_to>
    <assignment_group/>
    <business_duration>1970-01-01 00:00:00</business_duration>
    <business_stc>0</business_stc>
    <impact>3</impact>
    <incident_state>7</incident_state>
    <knowledge>0</knowledge>
    <location/>
    <made_sla>1</made_sla>
    <notify>1</notify>
    <number>INC0000060</number>
    <opened_at>2012-06-15 04:14:15</opened_at>
    <opened_by>glide.maint</opened_by>
    <order>0</order>
    <parent/>
    <parent_incident/>
    <priority>4</priority>
    <problem_id/>
    <reassignment_count>0</reassignment_count>
    <reopen_count>0</reopen_count>
    <resolved_at/>
    <resolved_by/>
    <rfc/>
    <severity>3</severity>
    <short_description>Computer running slow</short_description>
    </getRecordsResult>
    </getRecordsResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But below format is working.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <getRecordsResponse xmlns:tns1="http://www.service-now.com/incident">
    <tns1:getRecordsResult>
    <tns1:active>0</active>
    <tns1:activity_due/>
    <tns1:approval>not requested</approval>
    <tns1:approval_set/>
    <tns1:assigned_to>f298d2d2c611227b0106c6be7f154bc8</assigned_to>
    <tns1:assignment_group/>
    <tns1:business_duration>1970-01-01 00:00:00</business_duration>
    <tns1:business_stc>0</business_stc>
    <tns1:impact>3</impact>
    <tns1:incident_state>7</incident_state>
    <tns1:knowledge>0</knowledge>
    <tns1:location/>
    <tns1:made_sla>1</made_sla>
    <tns1:notify>1</notify>
    <tns1:number>INC0000060</number>
    <tns1:opened_at>2012-06-15 04:14:15</opened_at>
    <tns1:opened_by>glide.maint</opened_by>
    <tns1:order>0</order>
    <tns1:parent/>
    <tns1:parent_incident/>
    <tns1:priority>4</priority>
    <tns1:problem_id/>
    <tns1:reassignment_count>0</reassignment_count>
    <tns1:reopen_count>0</reopen_count>
    <tns1:resolved_at/>
    <tns1:resolved_by/>
    <tns1:rfc/>
    <tns1:severity>3</severity>
    <tns1:short_description>Computer running slow</short_description>
    </tns1:getRecordsResult>
    </getRecordsResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Please let us know so that can work with third parties to integrate webservices
    Thanks,
    Mehabub

    Here is the query that apex is using to extract the individual element
    select extractValue(value(t),'/*/number','xmlns="http://www.service-now.com/incident"') "number"
    , extractValue(value(t),'/*/severity','xmlns="http://www.service-now.com/incident"') "severity"
    from wwv_flow_collections c,
    table(xmlsequence(extract(c.xmltype001,'//getRecordsResponse/getRecordsResult','xmlns="http://www.service-now.com/incident"'))) t
    where c.collection_name = 'P_RESULTS21'FYI, that extraction method is deprecated starting with 11.2, though APEX still uses it for backward compatibility.
    That query works when applied on the first SOAP response you posted :
    SQL> select extractValue(value(t),'/*/number','xmlns="http://www.service-now.com/incident"') "number"
      2       , extractValue(value(t),'/*/severity','xmlns="http://www.service-now.com/incident"') "severity"
      3  from wwv_flow_collections c,
      4       table(
      5         xmlsequence(
      6           extract(c.xmltype001,'//getRecordsResponse/getRecordsResult','xmlns="http://www.service-now.com/incident"')
      7         )
      8       ) t
      9  where c.collection_name = 'P_RESULTS21';
    number                   severity
    INC0000060               3
    The second SOAP response is not even well-formed so I doubt the query works on it as you claim it does :
    <tns1:active>0</active>
    ...

  • Error in calling External Webservice (LodeStar)

    Hi,
    I am in the process of calling the External webservice of LodeStar. I am getting the error. I pasted the Input and error occured. Please Suggest me on this
    Thanks in Advance
    Input
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <soap:Header>
    <wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" bpel:priority="" bpel:completionPersistPolicy="" xmlns:bpel="http://schemas.oracle.com/bpel">uuid:058a8965-3bd3-4e29-8c2b-f96f74ccef7d</wsa:MessageID>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" soap:mustUnderstand="1"><wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Username>Divya_V</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password1</wsse:Password></wsse:UsernameToken></wsse:Security>
    </soap:Header>
    <soap:Body xmlns:ns1="http://www.lodestarcorp.com">
    <ns1:MDMREQUEST><ns1:METERACTIVE SERIALNUMBER="MC-00-00"/></ns1:MDMREQUEST>
    </soap:Body>
    </soap:Envelope>
    Error in Output
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>Security
    </code>
    </part>
    -<part name="summary">
    <summary>
    Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
    </summary>
    </part>
    -<part name="detail">
    <detail>null
    </detail>
    </part>
    </remoteFault>
    With Regards,
    Nishanth

    Hi,
    We tried testing the webservice in soapUI it is working perfectly. Even after providing the Action Header the error is same.
    Input:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <soap:Header>
    <wsa:Action xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:bpel="http://schemas.oracle.com/bpel">http://www.lodestarcorp.com</wsa:Action>
    <wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" bpel:priority="" bpel:completionPersistPolicy="" xmlns:bpel="http://schemas.oracle.com/bpel">uuid:058a8965-3bd3-4e29-8c2b-f96f74ccef7d</wsa:MessageID>
    <wsa:To xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:bpel="http://schemas.oracle.com/bpel">http://mngktr51623/lodestar/platform/webservices/AdapterWS.asmx</wsa:To>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" soap:mustUnderstand="1">
    <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Username>Divya_V</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password1</wsse:Password></wsse:UsernameToken></wsse:Security></soap:Header>
    <soap:Body xmlns:ns1="http://www.lodestarcorp.com/">
    <ns1:ProcessPayloadString>
    <ns1:serviceID>WS_MDM_AVAILABILITY</ns1:serviceID>
    <ns1:payload><![CDATA[<MDMREQUEST><METERACTIVE METERID="CON_METER_00"/></MDMREQUEST>]]></ns1:payload>
    </ns1:ProcessPayloadString>
    </soap:Body>
    </soap:Envelope>
    Output:
    <messages>
    <input>
    <Request_ProcessPayloadString_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    <ProcessPayloadString xmlns:ns1="http://www.lodestarcorp.com/" xmlns="http://www.lodestarcorp.com/">
    <ns1:serviceID> WS_MDM_AVAILABILITY</ns1:serviceID>
    <ns1:payload>
    <MDMREQUEST><METERACTIVE METERID="CON_METER_00"/></MDMREQUEST></ns1:payload>
    </ProcessPayloadString>
    </part>
    </Request_ProcessPayloadString_InputVariable>
    </input>
    <fault>
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="code">
    <code> Security</code>
    </part>
    <part name="summary">
    <summary> Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
    </summary>
    </part>
    <part name="detail">
    <detail>null</detail>
    </part>
    </remoteFault>
    </fault>
    </messages>
    Kindly assist.
    Regards,
    Divya

  • OVD and Webservice integration

    All of the profile information that I need access to is front-ended by Webservices and not inside LDAP. How well does OVD address this situation? Does the OVD attribute mapping, priority etc across many resources handle web services? If you needed to be able to aggregate profile attributes from many web services, defined by each application, would you use OVD or roll your own solution?

    in my case LDAP is out of the picture - all profile attributes I need to aggregate are dispersed amongst many resources front-ended by web services (some SOAP, some REST). This doesn't seem to me to be a unique scenario as most companies I am involved with do not maintain their customer profile data within LDAP. I want to assess OVD's ability/offered functionality (UI mapping screens,...) to address my scenario.
    thanks for the reply

  • Binding values to webservice model

    Hello,
    I have following webservice model structure.
    Please help me to bind the value to the model attributes.
    Request_StartWprkflow_startWorkflow
    |
    -->Parameter
    -->Payload     
    -->  data
    -->key
    -->value
    -->assignee
    -->dueDate
    -->priority
    -->reporter
    -->routing
              |-->coorId
              |-->issuetype
              |-->projectkey
              |-->sender
    Thanks in advance
    Pradeep

    Hi,
    just provide attribute values for each node.
    Regards,
    Przemysław

  • BPEL hanging when using HeaderHandlers for stateful webservice

    We are having problems calling a partnerlink using the responseHeaderHandlers and requestHeaderHandlers properties.
    The problem seems to be that the response from the webservice of the partnerlink is never received by BPEL, resulting in a timeout.
    From the BPEL logs, I can see that the outbound header handler class has modified the request:
    06/09/06 10:00:03 Started alive handler for statefull support -> out
    06/09/06 10:00:03 [Request] to RetrieveServiceContent operation
    06/09/06 10:00:03 Modified props
    06/09/06 10:00:03 Outgoing call props: {is-initial-call=true, input-header-variables={}, parentId=1902, completionPersistPolicy=null, process-id=bpel://localhost/default/VMTest~1.0/, rootId=1902, conversationId=bpel://localhost/default/VMTest~1.0/1902-BpInv0-BpSeq1.6-2, location=http://wxp03666/sdk/vimService, priority=3, httpRequestHeaders={Connection=Keep-Alive}, work-item-key=1902-BpInv0-BpSeq1.6-2}
    And in obtunnel, I can see the reqest being sent to the remote web service:
    POST /sdk/vimService HTTP/1.0
    Via: 1.0 LON-MEM-APP-11
    Content-Length: 342
    Content-Type: text/xml; charset=utf-8
    User-Agent: orabpel
    Host: lon-mem-tsg-06.lon.domroot.com:80
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: ""
    Connection: Keep-Alive
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <RetrieveServiceContent xmlns="urn:vim2">
    <_this type="ServiceInstance">ServiceInstance</_this>
    </RetrieveServiceContent>
    </soapenv:Body></soapenv:Envelope>
    The remote webservice receives this request, and in obtunnel I can see it's response:
    HTTP/1.1 200 OK
    Date: Wed, 6 Sep 2006 09:00:03 GMT
    Set-Cookie: vmware_soap_session="19D82F52-CC94-4E52-9A2A-54AB10A31E3C"; Path=/;
    Cache-Control: no-cache
    Content-Type: text/xml; charset=utf-8
    Content-Length: 2106
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <RetrieveServiceContentResponse xmlns="urn:vim2">
    <returnval>
    <rootFolder type="Folder">group-d1</rootFolder>
    <propertyCollector type="PropertyCollector">propertyCollector</propertyCollector>
    <about>
    <name>VMware VirtualCenter</name>
    <fullName>VMware VirtualCenter 2.0.0 build-27704</fullName>
    <vendor>VMware, Inc.</vendor>
    <version>2.0.0</version>
    <build>27704</build>
    <localeVersion>INTL</localeVersion>
    <localeBuild>000</localeBuild>
    <osType>win32-x86</osType>
    <productLineId>vpx</productLineId>
    <apiType>VirtualCenter</apiType>
    <apiVersion>2.0.0</apiVersion>
    </about>
    <setting type="OptionManager">VpxSettings</setting>
    <userDirectory type="UserDirectory">UserDirectory</userDirectory>
    <sessionManager type="SessionManager">SessionManager</sessionManager>
    <authorizationManager type="AuthorizationManager">AuthorizationManager</authorizationManager>
    <perfManager type="PerformanceManager">PerfMgr</perfManager>
    <scheduledTaskManager type="ScheduledTaskManager">ScheduledTaskManager</scheduledTaskManager>
    <alarmManager type="AlarmManager">AlarmManager</alarmManager>
    <eventManager type="EventManager">EventManager</eventManager>
    <taskManager type="TaskManager">TaskManager</taskManager>
    <customizationSpecManager type="CustomizationSpecManager">CustomizationSpecManager</customizationSpecManager>
    <customFieldsManager type="CustomFieldsManager">CustomFieldsManager</customFieldsManager>
    <diagnosticManager type="DiagnosticManager">DiagMgr</diagnosticManager>
    <licenseManager type="LicenseManager">LicenseManager</licenseManager>
    <searchIndex type="SearchIndex">SearchIndex</searchIndex>
    </returnval>
    </RetrieveServiceContentResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    However, the BPEL logs don't show any trace of BPEL receiving the response. The only thing that happens is the timeout.
    If I remove the HeaderHandler properties from the partnerlink, BPEL receives the response from the remote web service ok, and continues with further invocations of operations. However, we do need to maintain state accross invocations, so need to use header handlers.
    I have managed to get this code working on bpel 10.1.2.0.2 dev install, and thought the problem was due to setting the pl property httpKeepAlive to true, which appeared to modify the request to use http 1.1, from http 1.0. I set httpKeepAlive to false and it started working.
    Now that I've deployed to BPEL on 10g apps server (10.1.2.0.2) the problem has come back again.
    I have tried to ensure that everything is identical (classes being used etc), but cannot resolve the problem.
    Can anyone help?
    Toby

    We have resolved this problem now, and a couple of things were creating the problem.
    1st, httpKeepAlive property of true on the partnerlink resulted in a request being sent to the webservice, but no response being received. We set it to false as the outbound header class modifies the header to include a http keepalive of true.
    2nd, requests were going through a proxy server, and this was affecting things. Once we disabled the proxy server for the apps server where the requests were originating, the process worked.
    Thank.
    Toby

  • Error while consuming a webservice in nwds

    Dear Users,
      I m facing an error while consuming a wsdl webservice in webdynpro java error................
    Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[ModalContext,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor Services
       Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
       Method     : doImportWebServiceModel
       Message    : Web Service model import failed
       Exception  : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
    com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    -- caused by --
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many  times (20) -> java.net.ProtocolException: Server redirected too many  times (20)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 8 more
    Caused by: java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)
         at java.net.URL.openStream(URL.java:913)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)
         ... 10 more
    Please help me in solving his issue.
    regards,
    Sathya

    I have the same issue attempting to connect my application to this WSDL:
    http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl
    I can load the WSDL fine as an XML file. I can also load the WSDL fine if I connect via Firefox or a browser. I can open it fine in SoapUI. I just can't access it from my Java application.
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext] Loading of definition failed for [http://uid:password-erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl]; java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.SoapUI] An error occured [Server redirected too many  times (20)], see error log for details
    2009-10-26 18:11:45,943 ERROR [soapui.errorlog] java.net.ProtocolException: Server redirected too many  times (20)
    java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
         at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
         at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
         at java.lang.Thread.run(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR] java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.net.URL.openStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.lang.Thread.run(Unknown Source)
    Any ideas?
    Edited by: tburke on Oct 27, 2009 2:26 AM

  • New DVR Scheduler Bugs: Priority Settings No Longer Working, Scrolling Series Schedules is Flakey

    Hi,
    After this last HD DVR update, I have two new problems:
    1) I can no longer set the priority of most of my series schedules. I have about 100 series schedule entries, which the DVR update probably wasn't tested for.
    Now when I try to set a series priority, it LOOKS like it worked, but if I get out of DVR options and go back into Manage Recordings, 90% of the time I find that the series priority is either unchanged, or (even worse) has bounced up to some unexpected random priority - Thus, I have to search the series list  to find it - Then I cannot move it back to where it's supposed to be!
    It seems that only moving a series priority a little bit will sometimes work, but moving the series from near the top of the list to near the bottom (or vice-versa) doesn't work at all, even though it may appear like it worked until the list is refreshed (either by paging up and down the list a few times, or by exiting the DVR manager and going back in).
    2) The scrolling is messed up now in the series schedule manager - When setting Priority, as I scrool up or down from the middle of the list using the arrow or Page buttons,  the list will end unexpectedly, making it impossible to actually drag the series to the bottom or top of the list. Then if you deposit the series at the "end" of the list, suddenly the rest of the list will then magically appear (of course, the series schedule you deposited there will no longer be where you deposited it - See problem #1). Obviously the list is running out of buffer space, so the next part of the list isn't being loaded while you're in the process of changing a series priority..
    Scrolling is also messed up just scrolling through the list without changing priority: Scrolling through my series schedules USED to be very FAST and painless using the Page (Channel) up/down button, I could scroll from top to bottom of my 100 series schedules in a matter of like 5 seconds. NOW, it takes forever and is a real pain to scroll from top to bottom, because the scrolling pauses on just about every other page - As though it ran out of buffer space and is having trouble loading the next buffer.
    I have a lot of series schedule entries so all the First-run Programs are at the top of the priority list, then all the re-runs are in the bottom half of the list. That's the only way I have found to prevent Re-Runs from hijacking new programs, since there's no DVR option to prevent re-runs from inteferring with new episodes (BTW, in order for this to work, the First-Run schedule must be created first. Then a duplicate First-Run and Reruns schedule must be created - Creating them in reverse order will throw a "Duplicate" error message).
    The DVR software has always been buggy and feature-depribed, but this is rediculous - To think the programming team didn't even test the scrolling and priority of series schedules is as bad as the ObamaCare website, and that's setting a very low bar! You HAVE to test EVERYTHING when you release new updates, even if the programmers say it won't affect anything else, because from my experience programmers develop tunnel vision (been there, done that myself), and if you have more than one person on the programming team, neither programmer will communicate their changes to anyone else (been there, done that too).

    I have the identical problem after the recent software upgrade which VERIZON did to my DVR.
    In addition, I have "Manual Series" listed under the "Manage Series Recordings" section of my DVR for about 10 of the tv shows that I have tagged to be recorded weekly. Several others have reported this seemingly related problem to this forum.
    I've tried twice to report the latter problem to VERIZON's technical support staff, but met with indifference in the first attempt (a guy recommended that I replace my DVR with a new one - an utterly ridiculous suggestion), and in my second attempt I got a somewhat helpful lady who couldn't correct this glitch and was unaware of others having same problem but promised to send it up the flagpole to higher level tech folks (best action that I realistically could get).
    As I told VERIZON's techies, I likely was not the only customer experiencing these problems - and your and others postings to this forum confirm my initial hunch.  VERIZON leaves a lot to be desired in the testing of their software "upgrades".

  • Spawn jobs are not getting priority and target servergiven at selection scn

    Hi Abapers,
    I am scheduling main program as a job in backend through FMs JOB_OPEN, JOB_SUBMIT and JOB_CLOSE with priority and target server taken from user at selection screen through SE38,after executing the job,job will generate the spawn jobs (i.e child jobs). The spawn jobs  also be scheduled with same priority and target server from taken user. But after completion of main job execution, the spawn jobs are not generating with same priority and target server taken from selection screen. May be its getting refreshed.
    Please give me an idea how the spawn jobs also have to get the same priority and server of main job?
    Please reply as soon as possible. I need it urgently.

    Hi,
    I have used below statements for ADD EXTRACT and ADD REPLICAT.
    ------Extract
    ADD EXTRACT ext_1, TRANLOG, BEGIN NOW
    -------Data Pump
    ADD EXTRACT pump_1, EXTTRAILSOURCE /app/ggs/trail/local_trail_1/ta, BEGIN NOW
    -------Replicat
    ADD REPLICAT rep_1, EXTTRAIL /app/ggs/trail/remote_trail_1/tb, BEGIN NOW, CHECKPOINTTABLE ogg.tarun_chk
    Yes, i have tried tutorial at Oracle Learning Library.
    Thanks
    Tarun
    Edited by: user8886876 on Feb 12, 2012 9:56 PM

  • Create at runtime a job to run at the central instance with high priority

    Hi All
    Using the function modules  (  job_open, job_submit and job_close )  or ( job_open, submit via job  jobname number jobcount, job_close) I need that this job runs in the central instance and with high priority.
    I would like to know how to  inform  it using the statements above?  How to pass the parameters to make the job run in the central instance with high priority?
    I would appreciate any help.
    Thanks in advance.
    João Gaia

    Hi
    I hadn't realized about the parameter TARGETSERVER of  the function module JOBCLOSE. I am going to make some tests.
    thanks in advance

  • Error while invoking webservice throu https

    Error while invoking webservice throu https://
    can any one help me on this topic please:
    CODE:
    SOAPConnection con = null;
              try{
                   String endpoint = "https://wks3089639:4565/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint = "http://wks3101999:5539/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint      = args[0];
                   //String soapAction      = args[1];
                   System.out.println("javax.net.ssl.keyStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.ssl.trustStore","C:/Documents and Settings/1067555/Desktop/certificates/cer.jks");
                   System.setProperty("javax.net.ssl.keyStore","C:/Documents and Settings/1067555/Desktop/certificates/server.keystore");
                   System.setProperty("javax.net.ssl.trustStorePassword","password");
                   System.setProperty("javax.net.ssl.keyStorePassword","password");
                   // use Sun's reference implementation of a URL handler for the     "https" URL protocol type.
                   //System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
                   // dynamically register sun's ssl provider
                   System.setProperty("security.provider","com.sun.net.ssl.internal.ssl.Provider");
                   //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   System.out.println("javax.net.ssl.trustStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.debug","ssl,handshake");
                   SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
                   con = connectionFactory.createConnection();
                   MessageFactory messageFactory      = MessageFactory.newInstance();
                   SOAPMessage message                = messageFactory.createMessage();
                   SOAPPart soapPart                     = message.getSOAPPart();
         SOAPEnvelope envelope                = soapPart.getEnvelope();
         SOAPBody body                          = envelope.getBody();
    //     MimeHeaders headers = message.getMimeHeaders();
    //     headers.addHeader("SOAPAction", soapAction);
    //     headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/Operation");
    //     headers.addHeader("Content-Type","text/xml");
    //     headers.addHeader("charset","utf-8");
         MimeHeaders headers = message.getMimeHeaders();
         headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/sampleOperation");
         headers.addHeader("Content-Type","text/xml");
         headers.addHeader("charset","utf-8");
         StreamSource inputmsg = new StreamSource(new FileInputStream("client.wsdl"));
         soapPart.setContent(inputmsg);
         System.out.println("REQUEST:\n");
         message.writeTo(System.out);
         System.out.println();
         message.saveChanges();
         SOAPMessage reply = con.call(message, new URL(endpoint));
         System.out.println("RESPONSE:\n"+reply.toString());
         System.out.println("Header:::"+reply.getSOAPHeader());
         System.out.println("Body:::"+reply.getSOAPBody());
         System.out.println("RESPONSE:\n");
         TransformerFactory transformerFactory      = TransformerFactory.newInstance();
         Transformer transformer                     = transformerFactory.newTransformer();
         //Extract the content of the reply
         Source responseContent                          = reply.getSOAPPart().getContent();
         //Set the output for the transformation
         StreamResult result = new StreamResult(System.out);
         transformer.transform(responseContent, result);
         System.out.println();
              }catch(Exception e){
                   e.printStackTrace();
              finally{
                   con.close();
    Exception:
    10-Nov-2008 11:55:04 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
         at com.Sample.main(Sample.java:91)
    Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         ... 1 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    Edited by: javausers07 on Nov 10, 2008 11:58 AM

    I hope the sun forum can help for me. Lets see

  • Error while testing a webservice in http analyzer

    Hi ADF Experts,
    I am using 11.1.1.7.0 jdeveloper version.
    My questions are:- Can we create a webservice proxy from a webservice which contain multiple schemas? If yes how?
    While I separated the schemas into different filesystem and tried calling from wsdl. Also then I am getting the below error.
    "The following invalid value had caused a oracle.xml.parser.v2.XMLDOMException: invalid namespace for prefix ns1"
    "The operation cannot be proceed"
    Validating service
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Generating proxy
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Proxy generation finished
    Generation complete.
    However in SoapUI, the wsdl has no namespace error.
    Thanks for your valueable comments in advance,
    Regards,
    Sushant.

    The following is not an error, but a WARNING.
    Validating service
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Generating proxy
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: OWS-00064 Attribute "schemaLocation" is not present on a schema import element.
    WARNING: src-resolve: Cannot resolve the name 'p4:OrderProposalMerchandiseCategoriesByStoreIDQueryMessage_sync' to a(n) 'type definition' component.
    Proxy generation finished
    Generation complete.

Maybe you are looking for

  • Some logins don't work in Firefox but do work in other browsers

    I have a couple of sites that the logins don't work when I use Firefox but work perfectly if I use another browser such as Chrome or IE. I have tried uninstalling and reinstalling firefox including reinstalling back levels but nothing works. Any sugg

  • The same apple id on two ipods

    i want to know if i need to make a new apple id if i have two ipods with the same apple id. there are two ipods with two different apple ids but one of them has my moms apple id and my apple id on one ipod. but i have another ipod with just my apple

  • Early Watch Report - Archive EWA

    Hello,   I have configured Early Watch Report in my Solution Manager 4.0 on Windows Server 2003 4 weeks back. EWA report is comng perfectly  but in my Solution for each server I am able to see only 2 (Latest one and  Next Schedued) EWA report at a ti

  • How to export an image column from SQL server to an excel

    Hi team, Would like to know how can i get an Image column storeed in SQL Server database to get copied in Excel (Hard Drive). Requirement : Need to get Username, User email address and User photo in to an excel sheet from SQL server database. Fix: I

  • Keeping all my apps regardless of where I purchase

    I have a 3Gs phone, macbook and imac within my circle of use. I routinely find and purchase apps for my phone in each one of those locations. How do I get all my apps onto my phone instead of having them erase what ever might be different between my