Dynamically set the soap address for web services

Hi,
I am developing an Oracle J2ee1.3 web service for Oracle application server 10.1.2.
The web service needs to be deployed on to multiple servers. Hence the host and port for the soap:address needs to be changed for each server.
Eg: For the 1st server the soap:address is http://www.server1.com/test/MyWebService
For 2nd server the soap:address is http://www.server2.com/test/MyWebService
Is there any way to dynamically change this address based on the server the Web Service is deployed to?
Any help is highly appreciated.
Thanks,
Subashini

It helps to post a link to a thread when you refer to it.  If you are trying to implement that solution though, you can look at the parameter of the corresponding method being called.  The parameter has type 'SIMPLE' which means that it is compatible with all of the predefined elementary ABAP types.  In this case, you should use 'STRING'.

Similar Messages

  • How do pass the UserID and Password in the SOAP header for web services

    I am encountering issues trying to pass the userid and password in the SOAP header when consuming a 3rd party web service.  Rostewitz posted something similiar but I don't know how to type iv_xml.  Any help would be greatly appreciated.
    Thank you,
    jpina

    It helps to post a link to a thread when you refer to it.  If you are trying to implement that solution though, you can look at the parameter of the corresponding method being called.  The parameter has type 'SIMPLE' which means that it is compatible with all of the predefined elementary ABAP types.  In this case, you should use 'STRING'.

  • Im am trying to set up my printer for web services and it is asking me for a proxy address

    im am trying to set up my printer for web services and it is asking me for a proxy address

    Have you downloaded and installed an App Store app that you downloaded free from some website instead of from the App Store? If so, that's a stolen app, and you need to delete it.

  • Unable to set the ip address for hosted network client after creating WIFI hotspot

    Original Title: INTERNET CONNECTIVITY PROBLEM WITH MY LAPTOP WIFI HOTSPOT
    HI all
    I am able to use internet connection from my lap hotspot, when the internet source is Public or private wifi.
    so I know the cmd window commands for hotspot and settings of client(sharing to hosted network client, assigning IP address etc.,)
    but the problem I am facing is slight different
    I am using my cdma wireless broadband datacard as my source internet connection(Reliance netconnect +)
    when I try to create hotspot for this, as usual I am able to create the hotspot and able to share the internet to hostednework client.
    but I am unable to set the ip address for hosted network client, if I try to set ip 192.169.137.1 and 255.255.255.0
    as soon as I close the window, the ip address also disappears
    when connect my android phone to that hotspot, it is able to connect but there is no internet connectivity.
    when I check the hostednetwork client for packet transmission, both sent and received packet is happening., I mean transmitting
    so what cause the failure in internet connectivity but success in hotspot connectivity?
    check the screen shots...
    can u help me..
    its little complicated

    Hi,
    Please make sure the Ad hoc connection IP adress is at the same range with your local connection. In addition, how about recreate the ad hoc connection for test, please have a try.
    If problem persists, please use Network troubleshooter in Action Center to fix this problem for test.
    Roger Lu
    TechNet Community Support

  • Changing SOAP Namespace for Web Service

    Hi Experts,
    Got a requirement to modify the SOAP namespace for a BAPI program exposed as a web service on SAP.
    The fieldd denoting the SOAP namespace is accessible via transaction SE80 and navigating under: Package Name>Enterprise Services>Service Definitions> and double clicking on the exposed web service and selecting "Properties".
    The SAP SOAP namespace provided by default is: urn:sap-com:document:sap:rfc:functions
    Is anyone aware of a means to modify this namespace on the web service? Any help would be greatly appreciated. Thanks!
    Regards,
    Lionel

    hi tan,
    Although the SOAP Runtime is generally designed for RFC-type calls, it can also be used to access Web Services that are not implemented in a Web AS. For example, the Google search engine offers some services using SOAP, which can be accessed from the SAP Web AS.
    Naming Conventions
    The SOAP Runtime offers three methods of representing the original ABAP names (everything in upper case and separated by underscores) as data types in XML. Each method is associated with a different XML namespace:
    urn:sap-com:document:sap:rfc:functions – this is the canonical representation, which means that all names in the XML document are represented as they are in ABAP on a 1:1 basis. For repeating groups (such as the rows of a table), an XML element with the tag name item is generated (in writing) and expected (in parsing).
    urn:sap-com:document:sap:soap:functions:uc-style – this naming convention is similar to the first one, with the difference that instead of item, the name of the structure of the table row is generated or expected.
    urn:sap-com:document:sap:soap:functions:mc-style – this third convention also involves conversion of the upper case ABAP names to mixed case (both upper and lower case), according to the following algorithm: All characters except the first one are implicitly in lower case, and the underscore acts as a Shift key to effect an upper case character. RFC_SYSTEM_INFO thus becomes RfcSystemInfo. The addition of an initial underscore makes the first character lower case: RFCSYSTEM_INFO thus becomes rfcSystemInfo. An underscore character is transferred by adding an additional underscore: RFC__SYSTEM_INFO thus becomes Rfc_systemInfo.
    When using the SOAP Runtime caller side, note the following points regarding the naming convention:
    If the called Web Service is implemented in the Web AS 6.20, always use the namespace convention urn:sap-com:document:sap:rfc:functions. The namespace for the SOAP method must also be set according to this convention. To do this, specify the importing parameter nsvalue of the method set_method in the class CSoapDocument.
    Setting the namespace of the naming convention for the SOAP method does NOT automatically mean that the SOAP Runtime also sets the naming convention for serialized SOAP messages. As a developer, you must ensure that the naming conventions are followed. To do this, you can use the methodsset_tag_name_format and set_item_name_format:
    The method set_tag_name_format of the class CSoapDokument can be used to control the upper case or mixed case naming convention for tags that correspond to ABAP data types. To activate the normal ABAP format (upper case), use the value CSoapConstants=>ic_tagfmt_default for the importing parameter format. To switch to the mixed format, use the value CSoapConstants=>ic_tagfmt_mixcase.
    The method set_item_name_format of the class CSoapDokument is used to control the use of the tag name for repeating groups in ABAP data types (table rows). To implement the structure name of the table row, set the value CSoapConstants=>ic_itemfmt_default for the importing parameter format.  To use item as a tag, set the value CSoapConstants=>ic_itemfmt_useitem.
    All names passed to the API must be in a format that is expected by the server side. This affects the importing parameter name of both the methods set_method and add_parameter of the class CSoapDocument. The SOAP Runtime caller side does not perform any conversion of these names. The document class on the calling side does NOT take into account the namespace you have selected here.
    You should only implement the mixed case naming convention where it is necessary. This particularly applies when calling external Web Services, over the structure of which you have no control.
    Sending the SOAP Header in the Call
    The SOAP Framework does not provide general support for the handling of SOAP Header elements.
    However, for calling external Web services, it is sometimes sufficient to be able to send simple Header entries as part of the request. In this special case, you can use the class CSoapDocumentHeader.
    An instance of the class can be filled using the methods set_header_as_string or set_header_as_dataref. Using the method add_header, it can then be added to an instance of the class CSoapDocument, and is then serialized as a part of the document instance when the call is made.
    regards
    karthik
    dont forgrt to reward me points if it helps u

  • Setting the From Address for Reply in Mail

    I am having trouble setting the default “From” address for replies in Mail. When I click on “Reply” the new window opens with a default mail address I do not wish to use. This can be changes by going into the drop down box and setting a different one. This is time consuming and it is easy to send from an inappropriate address.
    “Help” menu says that the default address ( top one in the drop down box) can be changed and gives these instructions:
    Set the From address
    Your messages are sent from the account of the currently selected mailbox. If you have multiple email accounts, you can specify a different account to use for sending all messages, or select an account just for the message you’re writing.
    To specify the account to use for sending all messages, choose Mail > Preferences, click Composing, and then choose an account from the “Send new messages from” pop-up menu.
    To specify an account just for the message you’re writing, click the From pop-up menu, and then choose an email address.
To change the order in which addresses are listed in the pop-up menu, reorder the addresses in the “Email address” field in the Account Information pane of Mail account preferences.
    When I open the Mail Account Preferences and go to Account Information there is no list of addresses in the “Email address” just the one for the particular account highlighted in the left column eg. “[email protected]” or “[email protected]” .
    I tried to move the order of the accounts in the left hand box but nothing wants to move. Clicking and holding to push one account over another seems not to work.
    Anyone got any ideas on how to fix this?
    NB: This is about "Reply". Default for "New Message" is setting fine.

    i found out how to do this finally!
    1) set up google gmail account to forward your emails to (from the [email protected])
    2) go to your gmail account
    3) go to settings (cog in right hand corner)
    4) go to 'accounts and import'
    5) go to 'send mail as'
    6) click 'Add another email address you own' - add your [email protected] address
    7) google will send a verification email with code to that email address.
    8) enter code
    9) go back to gmail account  >'send mail as' and select 'make default'
    10) close mac 'mail' program and reopen it.
    as long as you have gmail account selected as the primary account in MAIL - mail will now come throught as being sent from that  [email protected] address!!

  • What the mechanism of the Java Proxy for Web Services in WLS 8.1

    Hi, all;
    I try to find out how the java proxy of web service in weblogic server 8.1
    works. Suppose I use the java Proxy of a WebSerice in a client application whatever
    whithin or outside the application of the web service, does the proxy actually:
    1. translate my java arguments objects in XML to create SOAP msg,
    2. then send the msg across the network, and web service also response SOAP msg,
    3. then proxy translate it into return value of the method call ?
    If that is true , the Java Proxy seems very inefficient, right?
    Can any body tell me how the proxy works ?
    regards,
    shannon

    Hi Shannon,
    The type of proxy I'm familiar with is at the http connection level and
    associated with the networking properties in the JDK, See:
    http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
    Your question may be related to JWS proxies, See:
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
    You may want to ask this question in the workshop newsgroup.
    Hope this helps,
    Bruce
    shannon lee wrote:
    >
    Hi, all;
    I try to find out how the java proxy of web service in weblogic server 8.1
    works. Suppose I use the java Proxy of a WebSerice in a client application whatever
    whithin or outside the application of the web service, does the proxy actually:
    1. translate my java arguments objects in XML to create SOAP msg,
    2. then send the msg across the network, and web service also response SOAP msg,
    3. then proxy translate it into return value of the method call ?
    If that is true , the Java Proxy seems very inefficient, right?
    Can any body tell me how the proxy works ?
    regards,
    shannon

  • Setting the attachment name in web service call scheduleReport

    Hi there,
    I searched the forum for this, found lots of threads but no useful solution...
    I am using BI Publisher 10.1.3.4.1 and I need to send a PDF report by email using its web service functionality. This works fine but the report is attached as "attachment.pdf" which is far from ideal. Is it possible to specify what the attachment should be called (e.g. "veryimportantreport.pdf")
    See below an example of the web service call I am doing.
    Thanks
    Luis
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
          xmlns:pub="http://xmlns.oracle.com/oxp/service/v11/PublicReportService"
          xmlns:pub1="http://xmlns.oracle.com/oxp/service/PublicReportService">
       <soapenv:Header/>
       <soapenv:Body>
          <pub:scheduleReport>
             <pub:scheduleRequest>
                <pub:cronExpression></pub:cronExpression>
                <pub:deliveryRequest>
                   <pub:contentType>pdf</pub:contentType>
                   <pub:documentData></pub:documentData>
                   <pub:emailOption>
                      <pub:emailBody>Message body</pub:emailBody>
                      <pub:emailFrom>[email protected]</pub:emailFrom>
                      <pub:emailReplyTo>[email protected]</pub:emailReplyTo>
                      <pub:emailServerName>emailserver</pub:emailServerName>
                      <pub:emailSubject>Subject</pub:emailSubject>
                      <pub:emailTo>[email protected]</pub:emailTo>
                   </pub:emailOption>
                </pub:deliveryRequest>
                <pub:reportRequest>
                   <pub:reportAbsolutePath>/Order/Order.xdo</pub:reportAbsolutePath>
                   <pub:attributeFormat>pdf</pub:attributeFormat>
                   <pub:parameterNameValues>
                      <pub:item>
                         <pub:name>P_ORDER_ID</pub:name>
                         <multiValuesAllowed>false</multiValuesAllowed>
                         <pub:values>
                            <pub1:item>123</pub1:item>
                         </pub:values>
                      </pub:item>
                   </pub:parameterNameValues>
                </pub:reportRequest>
             </pub:scheduleRequest>
             <pub:userID>luis</pub:userID>
             <pub:password>luis</pub:password>
          </pub:scheduleReport>
       </soapenv:Body>
    </soapenv:Envelope>

    mdonohue wrote:
    Sorry, product currently does not provide a way to name the attachment. I have entered an enhancement request to get that into a future release.That is a bit disappointing but thanks for letting me know!
    We are using BIP to generate reports from Apex and it works very well, except for this small detail.
    By the way, you sound very sure; are you related to Oracle in any way (I mean, is this an "official" answer)? I can't tell from your profile...
    Cheers
    Luis

  • Setting individual IP addresses for Web testing

    Dear all,
    I recently purchased an old MacMini to do some Web-application testing in a more convenient way than using a remote server.
    Because the MacMini is a rather old model (first Core 2 Duo model), I installed MacOS 10.6.6 SnowLeopard Server on it.
    I am, however, facing troubles to get it do what I wish.
    The IP address of the machine is : 192.168.1.42
    I wish it to respond to the following addresses :
    192.168.1.100 for website svenskaklubben.be
    192.168.1.101 for website schumantrophy.eu
    192.168.1.102 for website sky-project.com
    Etc ...
    These sites do not have to be accessible from the outside : they are LAN only for testing.
    The default configuration with only one site works perfectly, but things do change when I add several websites.
    When I setup the zones in the DNS part of the server, the best result I can achieve is that a trace (or ping) on the name returns the IP correctly.
    But when I ping (or trace) the IP, it always says : "host not found", or "host down"
    Most probably, I do mess up somewhere.
    Any help to guide me step-by-step would be highly appreciated, since I'm working on this since a couple of days and start to loose my nerves :-)
    Lots of thanks in advance

    Oh well ...
    I followed the instruction on your pages, and indeed it clarified some points.
    I could have the DNS working (I think), since the dig command returned the following results, reflecting several modifications as well (those results were obtained through a client machine on the network) :
    Last login: Wed Oct 31 07:27:27 on ttys000
    You have mail.
    imac-00-1f-f3-d2-d7-76:~ claudem.cauwe$ dig www.example.com
    ; <<>> DiG 9.8.3-P1 <<>> www.example.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35415
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;www.example.com.                    IN          A
    ;; ANSWER SECTION:
    www.example.com.          10800          IN          A          10.0.0.1
    ;; AUTHORITY SECTION:
    example.com.                    10800          IN          NS          192.168.1.30.example.com.
    ;; Query time: 4 msec
    ;; SERVER: 192.168.1.42#53(192.168.1.42)
    ;; WHEN: Wed Oct 31 10:54:00 2012
    ;; MSG SIZE  rcvd: 76
    imac-00-1f-f3-d2-d7-76:~ claudem.cauwe$ dig -x 192.168.1.30
    ; <<>> DiG 9.8.3-P1 <<>> -x 192.168.1.30
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 12765
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;30.1.168.192.in-addr.arpa.          IN          PTR
    ;; AUTHORITY SECTION:
    168.192.in-addr.arpa.          10800          IN          SOA          prisoner.iana.org. hostmaster.root-servers.org. 1 1800 900 604800 604800
    ;; Query time: 42 msec
    ;; SERVER: 192.168.1.42#53(192.168.1.42)
    ;; WHEN: Wed Oct 31 10:55:10 2012
    ;; MSG SIZE  rcvd: 120
    imac-00-1f-f3-d2-d7-76:~ claudem.cauwe$ dig schuman-trophy.example.com
    ; <<>> DiG 9.8.3-P1 <<>> schuman-trophy.example.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64844
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;schuman-trophy.example.com.          IN          A
    ;; ANSWER SECTION:
    schuman-trophy.example.com. 10800 IN          A          10.0.0.1
    ;; AUTHORITY SECTION:
    example.com.                    10800          IN          NS          192.168.1.30.example.com.
    ;; Query time: 2 msec
    ;; SERVER: 192.168.1.42#53(192.168.1.42)
    ;; WHEN: Wed Oct 31 10:57:53 2012
    ;; MSG SIZE  rcvd: 87
    imac-00-1f-f3-d2-d7-76:~ claudem.cauwe$ dig 192.168.1.30
    ; <<>> DiG 9.8.3-P1 <<>> 192.168.1.30
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 29122
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;192.168.1.30.                              IN          A
    ;; AUTHORITY SECTION:
    .                              10800          IN          SOA          a.root-servers.net. nstld.verisign-grs.com. 2012103100 1800 900 604800 86400
    ;; Query time: 71 msec
    ;; SERVER: 192.168.1.42#53(192.168.1.42)
    ;; WHEN: Wed Oct 31 10:58:42 2012
    ;; MSG SIZE  rcvd: 105
    imac-00-1f-f3-d2-d7-76:~ claudem.cauwe$ dig schuman-trophy.example.com
    ; <<>> DiG 9.8.3-P1 <<>> schuman-trophy.example.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1790
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;schuman-trophy.example.com.          IN          A
    ;; ANSWER SECTION:
    schuman-trophy.example.com. 10800 IN          A          192.168.1.100
    ;; AUTHORITY SECTION:
    example.com.                    10800          IN          NS          192.168.1.30.example.com.
    ;; Query time: 1 msec
    ;; SERVER: 192.168.1.42#53(192.168.1.42)
    ;; WHEN: Wed Oct 31 10:59:48 2012
    ;; MSG SIZE  rcvd: 87
    imac-00-1f-f3-d2-d7-76:~ claudem.cauwe$
    HOWEVER, i was still totally unable to get it working with a VirtualHost set in the "sites" part of ServerAdmin.
    Ping returns :
    ping: sendto: No route to host
    ping: sendto: Host is down
    ping: sendto: Host is down
    While TraceRoute returns :
    Traceroute has started…
    traceroute to schuman-trophy.example.com (192.168.1.100), 64 hops max, 72 byte packets
    1  * * *
    traceroute: sendto: Host is down
    2 traceroute: wrote schuman-trophy.example.com 72 chars, ret=-1
    *traceroute: sendto: Host is down
    traceroute: wrote schuman-trophy.example.com 72 chars, ret=-1
    *traceroute: sendto: Host is down
    traceroute: wrote schuman-trophy.example.com 72 chars, ret=-1
    traceroute: sendto: Host is down
    3 traceroute: wrote schuman-trophy.example.com 72 chars, ret=-1
    4  * * *
    traceroute: sendto: No route to host
    5 traceroute: wrote schuman-trophy.example.com 72 chars, ret=-1
    Interesting, though, is the fact that the IP address seems to be correctly resolved in the Traceroute ...

  • Dell 968w..how do I set the IP address for network printing?

    Attempting to connect my Dell 968w to the network for access by my HP and Dell laptops.  Dell said I need an IP address for the printer..how do I set the address??? 

    you need to contact dell printer support for this info...this is usually done by printing a network config page on your printer & you'll see the printer ip address there.
    Note:
    Although I work for HP Imaging & Printing
    Group , I am speaking for myself and not for
    HP.
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • SOAP Request with Web Service Security

    Hi masters of XI,
    the Oasis standard for web services security saids that exists three levels of security for web services, at higher level is Encryption, middle level is signature and at lower level is authentication with username and password inside the soap envelope.
    I need to do a SOAP Request signed with a X.509 certificate and username and password too in SAP PI 7.0 SP11. I can sign the request with X.509 certificate without problems but i can't authenticate the request with username and password in usernametoken element like saids the Oasis standard
    <wsse:Security>
    <wsse:UsernameToken>
    <wsse:Username>XXXX</wsse:Username>
    <wsse:Password>XXXXXXXXX</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    How can we send UserNameToken's elements inside SOAP web service envelope
    signing with X.509 certificate also? There are any way to do it in the
    receiver agreement or receiver SOAP adapter?
    thanks.

    Hi,
    thank you very much for your answers.
    I have solved the SSL comunication and i can sign with X.509 certificates. My problem is that in the SOAP envelope of resquest signed only travels the X.509 certificate and I need to send the username security token (wsse:UsernameToken) also.
    <wsse:Security>
    <wsse:UsernameToken>
    <wsse:Username>XXXX</wsse:Username>
    <wsse:Password>XXXXXXXXX</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    I can't find the solution to do it. The Netweaver documentation says that Netweaver is able to sign SOAP request with X.509 certificates and is able too for using UsernameToken as part of Oasis standard for web service security. In abap stack of NW you can assign a security profile to a web service call for signing the message or authenticate it with username/password inside SOAP envelope, but in java stack of XI i think that there is no way to do it.
    This is my Request:
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header>
        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
          <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-71968700">MIIHdTCCBl2gAwIBAgIQOq4nmg5zi4NGsIGjPUZVuTANBgkqhkiG9w0BAQUFADCCAT4xCzAJBgNVBAYTAkVTMTswOQYDVQQKEzJBZ...8d4pAJYk=</wsse:BinarySecurityToken>
          <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-104376803">
            <ds:SignedInfo>
              <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
              <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
              <ds:Reference URI="#id-104309952">
                <ds:Transforms>
                  <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                </ds:Transforms>
                <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                <ds:DigestValue>R6WE9gs+l496jHCgslgALWswEnE=</ds:DigestValue>
              </ds:Reference>
              <ds:Reference URI="#Timestamp-104310599">
                <ds:Transforms>
                  <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                </ds:Transforms>
                <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                <ds:DigestValue>aiCTZ0WwiZQEv8zVmmf8GLu/bYA=</ds:DigestValue>
              </ds:Reference>
            </ds:SignedInfo>
            <ds:SignatureValue>YR9Q5oUA6kFFmPYOIOQPTOgTgapMbkmgdlDM/TZJ2CS8ENAntfsnmpEbpUgOPUVMkgaECog0OKvlADHP0HvJtPdm2NJljZNCCgrk3hlmmtkXkRauVuH5KRiHE5NeWT4+Uspp3ashebu0IuOO66zt4Q=</ds:SignatureValue>
            <ds:KeyInfo Id="KeyId-104377209">
              <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-104377346">
                <wsse:Reference URI="#CertId-71968700" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
              </wsse:SecurityTokenReference>
            </ds:KeyInfo>
          </ds:Signature>     
          <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-104310599">
            <wsu:Created>2008-01-16T21:28:44.081Z</wsu:Created>
            <wsu:Expires>2008-01-16T21:33:44.081Z</wsu:Expires>
          </wsu:Timestamp>
        </wsse:Security>
      </soapenv:Header>
    And this is the request I need:
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header>
        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
          <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-71968700">MIIHdTCCBl2gAwIBAgIQOq4nmg5zi4NGsIGjPUZVuTANBgkqhkiG9w0BAQUFADCCAT4xCzAJBgNVBAYTAkVTMTswOQYDVQQKEzJBZ...8d4pAJYk=</wsse:BinarySecurityToken>
          <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-104376803">
            <ds:SignedInfo>
              <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
              <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
              <ds:Reference URI="#id-104309952">
                <ds:Transforms>
                  <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                </ds:Transforms>
                <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                <ds:DigestValue>R6WE9gs+l496jHCgslgALWswEnE=</ds:DigestValue>
              </ds:Reference>
              <ds:Reference URI="#Timestamp-104310599">
                <ds:Transforms>
                  <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                </ds:Transforms>
                <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                <ds:DigestValue>aiCTZ0WwiZQEv8zVmmf8GLu/bYA=</ds:DigestValue>
              </ds:Reference>
            </ds:SignedInfo>
            <ds:SignatureValue>YR9Q5oUA6kFFmPYOIOQPTOgTgapMbkmgdlDM/TZJ2CS8ENAntfsnmpEbpUgOPUVMkgaECog0OKvlADHP0HvJtPdm2NJljZNCCgrk3hlmmtkXkRauVuH5KRiHE5NeWT4+Uspp3ashebu0IuOO66zt4Q=</ds:SignatureValue>
            <ds:KeyInfo Id="KeyId-104377209">
              <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-104377346">
                <wsse:Reference URI="#CertId-71968700" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
              </wsse:SecurityTokenReference>
            </ds:KeyInfo>
          </ds:Signature>
    <!-- THIS IS THE PART I NEED -->
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-104312926">
            <wsse:Username>xxxxxxx</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"/>
          </wsse:UsernameToken>
    <!--  -->
    <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-104310599">
            <wsu:Created>2008-01-16T21:28:44.081Z</wsu:Created>
            <wsu:Expires>2008-01-16T21:33:44.081Z</wsu:Expires>
          </wsu:Timestamp>
        </wsse:Security>
      </soapenv:Header>

  • Configure Logical Address for Web Applications-Hyperion 11.1.2

    Hello,
    I have f5 load balancer infront of two foundation servers and I have not yet configured the Logical address for web applications with Loadbalancer DNS name/hostnmae. I can access all of web applications through Load Balanced URL. Do I Still need to configure Logical Web Address for web applications ?
    Thank you so much !

    To add to this part of the reason for load balancing is usually to support high availability (in addition to scalability). Without that logic address being setup you will find certain configuration items are pointed to one server or another and if that one server is brought down it impacts key functionality of the whole environment.
    You should consider a test of the infrastructure by purposely bringing down services and/or servers to ensure you still have a fully working environment with the other redundant components. This test may take half a day to several days to really go through a full regression test of key features while taking key pieces down.
    Regards,
    John A. Booth
    http://www.metavero.com

  • SharePoint 2013 Workflow - Change the From Address for an email

    Hello
    I am creating a SharePoint 2013 Workflow Manager Workflow to send out an email when a document is uploaded to a document library. I want to set the From address for the Email activity added to my Workflow. There is no option in Properties to change this.
    This used to be done when creating a SharePoint 2010 workflow in Visual Studio 2012.
    How can I add a From email address for my workflow?
    Thanks
    Yoshi

    Having problems getting SPD 2013 installed on my laptop because of a trial of O365, but I know in SPD 2010 you could find the BCC fields, etc... in the Advanced properties, it wasn't directly available via the common interface.  I know 2013 is very
    different from 2010, and if I can get it to install correctly, I will update, but look for an advanced property, or an XML view where you can find the FROM: field.

  • Specifying the character set for Web Services

    Hi
    When i set the weblogic system property
    -Dweblogic.webservice.i18n.charset=utf-8
    I get an error from weblogic douring startup
    <BEA-141087> <Unrecognized property: webservice.i18n.charset.>
    I'm using wls 8.1.
    Shouldn't this be the way to specify the encoding for web services
    Regards
    Preben

    Is it a Warning or a Error?
    If it is WARNING it is a known issue with the logging.
    The charset you set should work fine.
    Ajay
    "Preben" <[email protected]> wrote in message news:[email protected]..
    >
    Hi
    When i set the weblogic system property
    -Dweblogic.webservice.i18n.charset=utf-8
    I get an error from weblogic douring startup
    <BEA-141087> <Unrecognized property: webservice.i18n.charset.>
    I'm using wls 8.1.
    Shouldn't this be the way to specify the encoding for web services
    Regards
    Preben

  • Are the WLS 9.1 Web Service Ant Tasks ready for prime time?

    I am trying to create a Proof of Concept (POC) for Enterprise and B2B Services at Wendy's Int'l, Inc.
    As part of this POC, I created a WSDL for an in-house service and then used the wsdlc and jwsc Ant Tasks to translate this WSDL to Java classes and ultimately (I hoped) a deployable services.
    In this document, I describe the issues I encountered setting up what I consider to be a simple POC.
    I'll try to attach my WSDL file and build.xml so you can follow along.
    I'll also try to attach my CSS file so you can compare how the generated WSDL appears in the Browser to the way I want it to appear.
    If attachments are not allowed on these forums, then I will wait and see if there is interest in those documents before I paste them under this topic.
    Some preliminary information about my environment.
    Environment:
         Windows XP Pro SP2
         WebLogic 9.1
         Java 1.5.0_04
    Service Name:
         AppRelease
    Note: If I modify my WSDL (perhaps to add a new Operation or to change the definition of an element) and run wsdlc again, the AppReleaseSOAPPortImpl.java file is overwritten For this reason, I implemented my service logic in a class called AppReleaseServiceImple.java.
    Now, for the issues.
    1.     Bug:
    In the WSDL generated by wsdlc, the wsdl:part child of the wsdl:message tag is erroneously prefixed with a colon.
    This occurs whether or not I specify a prefix for the http://schemas.xmlsoap.org/wsdl/ namespace.
    Work around: Extract the wsdl from the jar file, fix it and add it back into the jar.
    2.     Bug:
    In the WSDL generated by wsdlc, the wsdl:input and wsdl:output children of the wsdl:operation child of wsdl:portType tag are erroneously prefixed with a colon. Like 1 above, this occurs whether or not I specify a prefix for the http://schemas.xmlsoap.org/wsdl/ namespace.
    Work around: Extract the wsdl from the jar file, fix it and add it back into the jar.
    The error message generated by Bugs 1 and 2 is not helpful in diagnosing the problem:
    [jwsc] Error at line:46 col:7 ':' expected [?! -- [CDATA[ ]
    3.     Bug:
    In the WSDL generated by wsdlc, the documentation elements have all of my html elements stripped out, as well as my xhtml and wsdl namespace references. This completely negates one of the best features of the documentation tag, being able to present the WSDL in a browser as a nicely formatted, human friendly document which is also the underlying WSDL that can be viewed when the person views the source document.
    I label this as a bug because it greatly reduces the functionality of the resulting WSDL.
    4.     Annoyance:
    The WSDL generated by wsdlc has all of my comments stripped out, except the comments in the xsd:schema section of the wsdl:types element. I would prefer that all my comments be left in the WSDL, but if comments must be stripped out then I think all of the comments should be stripped out.
    5.     Annoyance:
    The WSDL generated by wsdlc has my CSS specification stripped.
    Work around: I don’t know if adding the CSS back will do any good because I have not yet created a deployable service (see the last issue below).
    6.     Annoyance:
    The WSDL generated by wsdlc has different namespace prefixes than the ones I specified for my application's namespace and for the http://schemas.xmlsoap.org/wsdl/soap/ namespace.
    Work around: Perform a find/replace on namespace prefixes "s0" and "s1" to return them to my prefered values.
    Another thing I can do at this point is simply replace the generated WSDL in the jar file with my original WSDL. This would address issues 1 thru 6 above.
    7.     Annoyance:
    The java source files created by wsdlc are put into a jar file. This makes it annoying when working within a traditional IDE like Eclipse because there is no way to reference the source files within the jar as working source.
    Work around: Extract the source files from the jar and identify the resulting directory structure as part of the source structure of the project.
    8.     Bug:
    The jwsc task complains if the same parameter name is used in multiple operations. I received the following Errors from jwsc:
    [jwsc] C:\IDE\workspace\Acre-WL9.1\AppReleaseSOAPPort.java 0:0
    [jwsc] [ERROR] - Parameter element "{http://acre.services.wendys.com/AppRelease/}garRequest" is not unique across document/literal bare WebService.
    Since the operation names are unique, I see no reason to also require uniqueness in the parameter names used by those operations.
    Work around: Use unique element names for the input parameters of the services operations.
    9.     Bug:
    Once items 1, 2 and 8 above are taken care of, jwsc fails with the following error:
    java.lang.AssertionError: java.lang.ClassNotFoundException: weblogic.j2ee.descriptor.ApplicationBeanImpl
    This seems to be due to the weblogic.jar file not being in the System Classpath.
    However, I should note that when I set verbose="on" and debug="on" in the jwsc ant task, there was a message from the task which stated "[jwsc] [search path for class files: [big freakin’ jar list]". In the big freakin’ jar list, I did find weblogic.jar and weblogic.jar has the required ApplicationBeanImpl. This indicates to me that the jwsc task does not fully honor either its classpathref attribute, nor an embedded classpath element.
    Work around: Make sure the weblogic.jar is in the System Classpath.
    10.     Bug:
    I fixed bug #9 by running a setDomainEnv script and then ran my ant task. This time I received the following output:
    ant build-serviceBuildfile: build.xml
    build-service:
    [jwsc] 1 JWS files will be processed.
    [jwsc] Processing JWS: C:\IDE\workspace\Acre-WL9.1\src\com\wendys\services\acre\AppReleaseServiceImpl.java
    [jwsc] JWS: C:\IDE\workspace\Acre-WL9.1\src\com\wendys\services\acre\AppReleaseServiceImpl.java Validated.
    [AntUtil.deleteDir] Deleting directory <some temporary directory>
    BUILD FAILED
    java.lang.ExceptionInInitializerError
    At this point, I am completely stymied about how to proceed.
    I wonder what new issues await once this 10th issue is addressed.
    Really, is this tool set ready for prime time?

    <i>Sorry to hear you are having so many issues with using the WLS 9.1 web service Ant tasks, inside of Eclipse.
    I generally create a User Library for the couple weblogic jars needed, and use it (the User Library) in my Eclipse projects that I create JWSes in.</i><br>
    I also have a separate WebLogic Library in Eclipse (actually 2 libraries since I work with WL 8.1 and now WL 9.1). As you may know, one of the long-standing issues with the Ant integration within Eclipse is the fact that Ant, being an External Tool, does not receive the Project-specific Paths/Libraries. However, since most Java-relevant Ant tasks can take classpath and classpathref attributes, this is usually not an issue. In the case of the BEA-supplied wsdlc Ant task, it is apparent from the verbose/debug console output that wsdlc can see the jars in its classpathref, but it ignores those references when resolving class references and instead only uses the system classpath.
    <p>
    <i>I've only needed the weblogic.jar and xbean.jar, not all the ones you mentioned in an earlier thread of this post.</i><br>
    I have not tried to winnow down exactly which jars are required. I simply included all the jars that exist and were added to the system classpath by the setDomainEnv.bat file created by WebLogic 9.1.
    <p>
    <i>Afterwards, I create an Ant Builder to build the JWS Web Service EAR, as opposed to fiddlin' with Eclipse.</i><br>
    I too use Ant to build my deployable archives. Eclipse is simply my IDE of choice. I validated that all the issues I listed occurred when running Ant from the command line.
    <p>
    <i>If you are interested in how I do it, send me an e-mail (to [email protected]), and I'll send you a zip of one of these JWS projects. The build.xml script for the project, takes care of a lot of the "annoyances" you mentioned, one of which I think is not accurate. I have never had a situation where the wsdlc Ant task "overwrote" my XXXImpl.java file..</i><br>
    Since I'm doing a POC to determine how we want to proceed with developing Web Services and an SOA in general, I tried to perform the same tasks using Axis 2 1.0, the WebLogic 9.1 tools, and XFire 1.1. Overwriting the Impl class is a common failing in the tools which take a WSDL and create Java source files for all three frameworks.
    <p>
    Try my scenario. Add another operation to an existing WSDL, and run the wsdlc Ant Task. The old IMPL class will be over-written.
    <p>
    Because of this, I have a separate Impl class and I make sure that all its methods and annotations match the methods and annotations in the Skeleton Impl class created by wsdlc.
    <p>
    <i>Maybe that's because I use the <exec> Ant task with jar.exe (the xvf options) in my build.xml, to only get what I need out of the .jar/.zip the wsdlc generates. I'm typically only interest in the interface class that my XXXImpl.java file needs to implements, because I use XMLBeans for the input args (and return values) of my web service operations.</i><br>
    Perhaps. I am not using XMLBeans in any of the three frameworks because the resulting service seems to be lighter-weight in all three frameworks if XMLBeans is not used. I'm sure there will be scenarios where XMLBeans is preferred, but I have not encountered that case in this POC.
    <p>
    <i>Regards,
    Mike Wooten</i>
    Thanks for the follow-up.
    Mike McAngus

Maybe you are looking for

  • How do I find out where the missing filter is used?

    After upgrade, Premiere CS4 is complaining missing filter upon opening a CS3 project.  How do I find out where the filter is used? Thanks!

  • Stock blocking for a customer-Highest priority

    Hi Steve Please confm how to allocate stock to customer without sales order.

  • Can't update iTunes on iBook G4 (OS10.4.11)

    Hallo.  My Mum just gave me her old iPhone 4s.  It doesn't have a 'software update' section under settings/general. I wanted to try to update it somehow using iTunes, but I need to update my IBook G4's iTunes first.  But when I try my laptop just say

  • Validation for profitability segment in Account document

    Hi Team, Currently We are using validation for cost object i.e. either cost center or WBS elements enter  in a  GL account line items and if we are enter both cost object then system will be give Error message . in this validation we have added valid

  • How to find server acknoldegement??

    Hi all, I am using JMS API to send message from client to AS 9.0. Its working fine. But i dont know how the client program will know that the server received its message or not?? ie. is it possible the server acknowledge the message of the client?? T