Changing location specified using soap:address

Hi there,
How can i change the webservice host address which is shown in wsdl file (in IE).
This tag is under <service name......
what i know is that the wsdl file is generated automatically then how to change that host address in <host address....
example :
<service name="Service">
<documentation>Interface. Version 2.0</documentation>
- <port name="Service" binding="tns:Service">
<soap:address location="http://mynet.tk.com:11001/webapp/webservices/mpp20" />
</port>
</service>
The question is from where it automatically forms the url like...
<soap:address location="http://mynet.tk.com:11001/webapp/webservices/mpp20" />
I am using bea Weblogic for deployment.
Thanks,

Hi all,
I have found now a bit tricky way to solve this after investigating in jax-ws and tomcat source code...
on external proxy server you have to use apache2 as a reverse proxy with the modules mod_proxy, mod_rewrite and mod_headers activated.
In your configuration for your virtual hosts (below only shown for Port 443) you have to set ProxyPreserveHost to On (to set external hostname in proxied request), further you have to modify request header to set the right port, external used:
for example with following directive "RequestHeader set Host externalhost:443".
HTTPS requests you have to route to internal server on second port 8082, HTTP requests you have to route, as usually, on port 8080, look at the directives ProxyPass and ProxyPassReverse as shown below.
On tomcat server you have to enable second port 8082 with "wrong" settings enabled: scheme="https" and secure="true"
the webservices are now able to show the right scheme, too, external used.
Possible configuration of apache2 virtualhosts:
<IfModule mod_ssl.c>
#NameVirtualHost *
<VirtualHost *:443>
        ServerName externalhost:443
        ServerAdmin webmaster@localhost
        Protocol https
        UseCanonicalName On
        DocumentRoot /var/www/
        ErrorLog /var/log/apache2/error-ssl.log
        SSLEngine On
         # Possible values include: debug, info, notice, warn, error, crit,
         # alert, emerg.
         LogLevel warn
         CustomLog /var/log/apache2/access-ssl.log combined
         ServerSignature On
         <IfModule mod_proxy.c>
            #turning ProxyRequests on and allowing proxying from all may allow
            #spammers to use your proxy to send email.
            ProxyRequests Off
            <Proxy *>
                  AddDefaultCharset off
                 Order deny,allow
                 #Deny from all
                 #Allow from .example.com
                 Allow from all
            </Proxy>
            # Enable/disable the handling of HTTP/1.1 "Via:" headers.
            # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
            # Set to one of: Off | On | Full | Block
            ProxyVia Off
            ProxyErrorOverride Off
            ProxyPreserveHost On
            <IfModule mod_headers.c>
               <Proxy *>
                  RequestHeader set Front-End-Https On
                  RequestHeader set Host externalhost:443
               </Proxy>
            </IfModule>
            ProxyPass                /ws-foo/ http://internalhost:8082/ws-foo/
            ProxyPassReverse /ws-foo/ https://externalhost:443/ws-foo/
         </IfModule>
</VirtualHost>
</IfModule> Configuration of tomcat: <tomcat-base>/conf/server.xml:
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 and 8082 -->
    <Connector URIEncoding="utf-8" acceptCount="100"
               connectionTimeout="20000"
               disableUploadTimeout="true" enableLookups="false"
               maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150"
               minSpareThreads="25" port="8080" redirectPort="8443"/>
    <Connector URIEncoding="utf-8" acceptCount="100"
               connectionTimeout="20000"
               disableUploadTimeout="true" enableLookups="false"
               maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150"
               minSpareThreads="25" scheme="https" secure="true"
               port="8082" redirectPort="8443"/>Hope, that helps you all - this had cost me a lot of time... ;-)
Regards.

Similar Messages

  • How to control the location of the SOAP:address element in the WSDL

    I have an EJB exposed as webservice in WebLogic 10.3. Further, the EJB has been annotated with the WebService annotation as in:
    @WebService(name = "S_CALCULATORname", serviceName = "S_CALCULATORserviceName",
    targetNamespace = "http://tempuri.org/SCalculator/")
    @Stateless(name = "S_CALCULATOR")
    public class S_CALCULATOR_Beanxxxxxx
    The location attribute of the SOAP:address element in the WSDL document generated by the Test Client facility is of the form
    http://host:port/ejb-java-class-name/service-name-attribute-value as in:
    <soap:address location="http://123.4.5.678:1234/S_CALCULATOR_Beanxxxxxx/S_CALCULATORserviceName" />
    Is there a way to control the value of the context root portion of the URL, ejb-java-class-name in this case, either using annotations or deployment descriptor files?
    thanks in advance for any replies,
    octavio

    Hi,
    While building the WebService Application you can use the following ANT task...
    <target name="build-service4">
    <jwsc
    srcdir="src"
    destdir="output/TestEar">
    <jws file="examples/webservices/jwsc/TestServiceImpl.java">
    <WLHttpTransport contextPath ="TestContext" serviceUri="TestServiceUri" portName="TestServicePortHTTP"/>
    </jws>
    </jwsc>
    </target>
    Or if you are developing JAXRPC EJB based WebService in that case you can even define the Context root using *@weblogic.jws.WLHttpTransport* annotation....
    @WLHttpTransport(contextPath="simple", serviceUri="SimpleService", portName="SimpleServicePort")
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Feb 4, 2010 10:22 PM

  • JMS transport - weblogic changes soap:address location="jms:.. to http

    Hi,
    Please help me to configure web service to use only jms transport.
    I try to create web service that uses JMS transport.
    I started from WSDL where I placed two elements:
    <soap:binding style="document"
                   transport="http://www.openuri.org/2002/04/soap/jms" />
    and
    <soap:address location="jms://host:7041/contextPathName/serviceUriName?URI=queueName" />
    Then in web service implementation I placed following annotation:
    @WLJmsTransport(contextPath = "contextPathName", serviceUri = "serviceUriName", portName = "portName", queue = "queueName", connectionFactory = "connectionFactoryName")
    Deployment is successful but when I look at generated WSDL (Admin console) I see that weblogic has changed <soap:address location="jms:.. to <soap:address location="http....
    And when I look at monitoring I see that port is using JMS transport.
    When I try to test my service using Admin console Test client I see that the queue is not used (Admin console/monitoring/Messages total is still 0) and service uses (I suppose) http transport.

    Hi,
    Please change "http://www.openuri.org/2002/04/soap/jms" to http://www.openuri.org/2002/04/soap/jms/ for soap1.1 or http://www.openuri.org/2002/04/soap12/jms/ for soap1.2.
    There must be some mismatch between edoc and implementation.
    -LJ

  • Change SOAP Address Location in the WSDL

    When deploying a BPEL service the SOAP Address location is automatically generated to have the
    http://{SERVER}:{PORT} of the SOA server where you are deploying the service but i need to have a different address location.
    I basically needs this because we have a load balancer and firewall restrictions for any external third party that want to invoke our service.
    So the WSDL URL we give to the third party who want to invoke our service will be
    https://loadbalancer/orabpel/default/TestService/1.0/TestService?wsdl
    instead of
    http://soasever:soaserveport/orabpel/default/TestService/1.0/TestService?wsdl
    The loadbalancer will then strip of the https connection and send it as http request to the SOA server.
    So the third party is now able to access the WSDL but he is having issues while invoking the service as the SOAP address location is still having our SOA server name
    Any ideas?

    This can be achieved through dynamic partner linking.
    http://download.oracle.com/docs/cd/E19509-01/821-0017/cnfg_bpel-se-dynamic-ptnrlink_c/index.html
    HTH
    -ND

  • Exception setting SOAP address to $CHANGE-WHEN-DEPLOY$:

    Am trying to call the Credit Rating Service using the 10.1.2 version of BPEL engine using the JDeveloper Designer. Have no problems calling the Credit Rating Service through the console tester but when my BPEL process called SynchBPELProcess2 calls the credit rating service I get the following error:
    Your test request generated the following exception/fault:
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{summary=exception setting SOAP address to $CHANGE-WHEN-DEPLOY$: no protocol: $CHANGE-WHEN-DEPLOY$; nested exception is:
         java.net.MalformedURLException: no protocol: $CHANGE-WHEN-DEPLOY$}}
    Is there some additional configuration that needs to be done to get around this or am I missing a step somewhere. Ran into this while going step by step with the Order booking tutorial and so decided to try with a separate project.
    BPEL File Attached below:
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Tue Apr 12 18:57:43 GMT+05:30 2005
    // Author: 121401
    // Purpose: Synchronous BPEL Process
    -->
    <process name="SynchBPELProcess2" targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ns1="http://services.otn.com" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/SynchBPELProcess2" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:SynchBPELProcess2" myRole="SynchBPELProcess2Provider"/>
    <partnerLink name="CreditRatingService" partnerLinkType="ns1:CreditRatingService" partnerRole="CreditRatingServiceProvider"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:SynchBPELProcess2RequestMessage"/><!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="outputVariable" messageType="client:SynchBPELProcess2ResponseMessage"/>
    <variable name="invokeCR_process_InputVariable" messageType="ns1:CreditRatingServiceRequestMessage"/>
    <variable name="invokeCR_process_OutputVariable" messageType="ns1:CreditRatingServiceResponseMessage"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in SynchBPELProcess2.wsdl
    -->
    <receive name="receiveInput" partnerLink="client" portType="client:SynchBPELProcess2" operation="process" variable="inputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:SynchBPELProcess2ProcessRequest/client:input"/>
    <to variable="invokeCR_process_InputVariable" part="payload" query="/ns1:ssn"/>
    </copy>
    </assign>
    <invoke name="invokeCR" partnerLink="CreditRatingService" portType="ns1:CreditRatingService" operation="process" inputVariable="invokeCR_process_InputVariable" outputVariable="invokeCR_process_OutputVariable"/>
    <reply name="replyOutput" partnerLink="client" portType="client:SynchBPELProcess2" operation="process" variable="outputVariable"/>
    <assign name="Assign_2">
    <copy>
    <from variable="invokeCR_process_OutputVariable" part="payload" query="/ns1:rating"/>
    <to variable="outputVariable" part="payload" query="/client:SynchBPELProcess2ProcessResponse/client:result"/>
    </copy>
    </assign>
    </sequence>
    </process>
    WSDL Attached below :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="SynchBPELProcess2"
    targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/SynchBPELProcess2"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2"
                   xmlns="http://www.w3.org/2001/XMLSchema">
                   <element name="SynchBPELProcess2ProcessRequest">
                        <complexType>
                             <sequence>
                                  <element name="input" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="SynchBPELProcess2ProcessResponse">
                        <complexType>
                             <sequence>
                                  <element name="result" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="SynchBPELProcess2RequestMessage">
              <part name="payload" element="client:SynchBPELProcess2ProcessRequest"/>
         </message>
         <message name="SynchBPELProcess2ResponseMessage">
              <part name="payload" element="client:SynchBPELProcess2ProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the SynchBPELProcess2 BPEL process -->
         <portType name="SynchBPELProcess2">
              <operation name="process">
                   <input message="client:SynchBPELProcess2RequestMessage" />
                   <output message="client:SynchBPELProcess2ResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="SynchBPELProcess2">
              <plnk:role name="SynchBPELProcess2Provider">
                   <plnk:portType name="client:SynchBPELProcess2"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>

    Lasts monday I downloaded a version (10.1.2 release, not preview/beta 3) which has the same filename and file size of the 10.1.2 GA release which is available right now.
    I don't think the problem is in the PM, because i can run bpelc/obant to build my processes. however when i build them with the Eclipse plugin, it won't change the location of the wsdl (keep saying $CHANGE_WHEN_DEPLOY$).

  • Wscompile No SOAP address specified

    I have seen this same post over and over again. I haven't seen a single real answer for it. SO here we go again.....
    warning: ignoring port "HelloHttpGet": no SOAP address specified
    warning: ignoring port "HelloHttpPost": no SOAP address specified
    these are the errors. I read a bug article based on this, but it was in regards to a .Net project and not a java one.
    I would assume that if those ports were ignored, my project won't work, so i really really need to figure this out.
    here is my config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="Hello.wsdl"
    packageName="com.c2bmc"/>
    </configuration>
    and here is my wsdl
    <?xml version="1.0" encoding="utf-8"?>
    <!-- @editor-info:link autogen="true" source="Hello.jws" -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.openuri.org/">
    <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema">
    <s:element name="getPlanList">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getPlanListResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="getPlanListResult" type="s:string" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="string" nillable="true" type="s:string"/>
    </s:schema>
    </types>
    <message name="getPlanListSoapIn">
    <part name="parameters" element="s0:getPlanList"/>
    </message>
    <message name="getPlanListSoapOut">
    <part name="parameters" element="s0:getPlanListResponse"/>
    </message>
    <message name="getPlanListHttpGetIn"/>
    <message name="getPlanListHttpGetOut">
    <part name="Body" element="s0:string"/>
    </message>
    <message name="getPlanListHttpPostIn"/>
    <message name="getPlanListHttpPostOut">
    <part name="Body" element="s0:string"/>
    </message>
    <portType name="HelloSoap">
    <operation name="getPlanList">
    <input message="s0:getPlanListSoapIn"/>
    <output message="s0:getPlanListSoapOut"/>
    </operation>
    </portType>
    <portType name="HelloHttpGet">
    <operation name="getPlanList">
    <input message="s0:getPlanListHttpGetIn"/>
    <output message="s0:getPlanListHttpGetOut"/>
    </operation>
    </portType>
    <portType name="HelloHttpPost">
    <operation name="getPlanList">
    <input message="s0:getPlanListHttpPostIn"/>
    <output message="s0:getPlanListHttpPostOut"/>
    </operation>
    </portType>
    <binding name="HelloSoap" type="s0:HelloSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="getPlanList">
    <soap:operation soapAction="http://www.openuri.org/getPlanList" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <binding name="HelloHttpGet" type="s0:HelloHttpGet">
    <http:binding verb="GET"/>
    <operation name="getPlanList">
    <http:operation location="/getPlanList"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <binding name="HelloHttpPost" type="s0:HelloHttpPost">
    <http:binding verb="POST"/>
    <operation name="getPlanList">
    <http:operation location="/getPlanList"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <service name="Hello">
    <port name="HelloSoap" binding="s0:HelloSoap">
    <soap:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    <port name="HelloHttpGet" binding="s0:HelloHttpGet">
    <http:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    <port name="HelloHttpPost" binding="s0:HelloHttpPost">
    <http:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    </service>
    </definitions>
    Thanks for anyone who takes the time to help.
    Jason

    I have seen this same post over and over again. I haven't seen a single real answer for it. SO here we go again.....
    warning: ignoring port "HelloHttpGet": no SOAP address specified
    warning: ignoring port "HelloHttpPost": no SOAP address specified
    these are the errors. I read a bug article based on this, but it was in regards to a .Net project and not a java one.
    I would assume that if those ports were ignored, my project won't work, so i really really need to figure this out.
    here is my config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="Hello.wsdl"
    packageName="com.c2bmc"/>
    </configuration>
    and here is my wsdl
    <?xml version="1.0" encoding="utf-8"?>
    <!-- @editor-info:link autogen="true" source="Hello.jws" -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.openuri.org/">
    <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema">
    <s:element name="getPlanList">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getPlanListResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="getPlanListResult" type="s:string" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="string" nillable="true" type="s:string"/>
    </s:schema>
    </types>
    <message name="getPlanListSoapIn">
    <part name="parameters" element="s0:getPlanList"/>
    </message>
    <message name="getPlanListSoapOut">
    <part name="parameters" element="s0:getPlanListResponse"/>
    </message>
    <message name="getPlanListHttpGetIn"/>
    <message name="getPlanListHttpGetOut">
    <part name="Body" element="s0:string"/>
    </message>
    <message name="getPlanListHttpPostIn"/>
    <message name="getPlanListHttpPostOut">
    <part name="Body" element="s0:string"/>
    </message>
    <portType name="HelloSoap">
    <operation name="getPlanList">
    <input message="s0:getPlanListSoapIn"/>
    <output message="s0:getPlanListSoapOut"/>
    </operation>
    </portType>
    <portType name="HelloHttpGet">
    <operation name="getPlanList">
    <input message="s0:getPlanListHttpGetIn"/>
    <output message="s0:getPlanListHttpGetOut"/>
    </operation>
    </portType>
    <portType name="HelloHttpPost">
    <operation name="getPlanList">
    <input message="s0:getPlanListHttpPostIn"/>
    <output message="s0:getPlanListHttpPostOut"/>
    </operation>
    </portType>
    <binding name="HelloSoap" type="s0:HelloSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="getPlanList">
    <soap:operation soapAction="http://www.openuri.org/getPlanList" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <binding name="HelloHttpGet" type="s0:HelloHttpGet">
    <http:binding verb="GET"/>
    <operation name="getPlanList">
    <http:operation location="/getPlanList"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <binding name="HelloHttpPost" type="s0:HelloHttpPost">
    <http:binding verb="POST"/>
    <operation name="getPlanList">
    <http:operation location="/getPlanList"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <service name="Hello">
    <port name="HelloSoap" binding="s0:HelloSoap">
    <soap:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    <port name="HelloHttpGet" binding="s0:HelloHttpGet">
    <http:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    <port name="HelloHttpPost" binding="s0:HelloHttpPost">
    <http:address location="http://localhost:7001/FirstJWSProject/Hello.jws"/>
    </port>
    </service>
    </definitions>
    Thanks for anyone who takes the time to help.
    Jason

  • Webservices soap address location url update

    Hi,
    Is there any way to change the soap address location in the wsdl?
    I tried by changing the frontendport and host,But I don't have any option for updating the protocol(http/https) option in weblogic.
    advance thanks

    Thank you very much,
    I followed the same document for updation of endpoint,these settings only updating the host and port ,not the frontend access protocol. End points are generated properly if both the proxy and internal app server mapping uses the same protocol.
    Weblogic always using the application server protocol instead of proxy protocol.
    Example:wsdl accessed from proxy with https and the internal mapping is http.
    https://proxy:443/xxx/xxx?wsdl--->http://appserver:7001/xxx/xxx?wsdl--->web servies end point is http://proxy:80/xxx/xxx?wsdl but the expected endpoint is
    https://proxy/xxx/xxx?wsdl.
    thanks for providing any other advices

  • WSDL soap:address location

    Having developed/tested my soap services they are almost ready for shipping as a product.
    However, in the WSDL the <soap:address location=""> tag is set to my server - as used in development.
    So when I deploy this EAR file from JDev (9.0.5.2) this value is fixed, and will not work for customers.
    Is there anyway to make this value dynamic on deployment by customers or am I stuck with having to find out in advance customers server/port settings and then creating individual release per customer?
    I have tried using a relative url but this doesnt always work for clients trying to connect, e.g.:
    <soap:address location="/webservices/booking"/>
    Thanks in advance for any assistance.

    For now I have written a program, that is run after deployment. This program edits the web.xml and allows customers to specify the server name and port they are using.
    Anyone else have any solutions to this?

  • Warning: ignoring port "AshHlcMemMntcSOAP": no SOAP address specified

    I'm running wsimport from the Sun 1.6 jdk. I'm getting the following message and I don't know why.
    Can anyone make some suggestions?
    Thanks in advance,
    F
    [WARNING] ignoring port "AshHlcMemMntcSOAP": no SOAP address specified. try running wsimport with -extension switch.
    line 181 of file:/C:/users/xxx/ATV/AshHlc-WS/10-10%20Jax-WS%20Working/AshHlcMemMntc.wsdl
    [WARNING] Service "AshHlcMemMntc" does not contain any usable ports. try running wsimport with -extension switch.
    line 178 of file:/C:/users/xxx/ATV/AshHlc-WS/10-10%20Jax-WS%20Working/AshHlcMemMntc.wsdl
    Portion of file. First line is number 178:
    <wsdl:service name="AshHlcMemMntc">
    <wsdl:port
    binding="tns:AshHlcMemMntcSOAP"
    name="AshHlcMemMntcSOAP">
    <soap:address
    location="http://localhost:9080/mms/services/AshHlcMemMntc" />
    </wsdl:port>
    </wsdl:service>

    I was able to solve my problem! I had a bad URL in my namespace definitions and that was messing everything up. I with the error message was more informative...
    Bad: xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap"
    Good: xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    Note the missing last slash. That was all...
    F

  • Disable the soap address location

    Hi,
    I wonder if it’s possible to disable the soap:address location in the WSDL?
    My problem is that I use a proxy (SOAP) between my WebService Client and the WebLogic
    WebService.
    When I ask the WSDL through my proxy, it’s work well. But the next call, the client
    goes directly to the WebLogic and does not use anymore the proxy. I think the
    problem comes from the soap:address location.
    Thanks for your help.
    Charles

    Hi Charles,
    You could post your own WSDL, see the docs [1] for details, or you could
    use a dynamic client without the WSDL; there are a number of examples of
    how to do this such as Manoj's [2].
    Regards,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/webxml.html#1007638
    [2]
    http://manojc.com/?sample25
    Charles Desmoulins wrote:
    >
    Hi,
    I wonder if it’s possible to disable the soap:address location in the WSDL?
    My problem is that I use a proxy (SOAP) between my WebService Client and the WebLogic
    WebService.
    When I ask the WSDL through my proxy, it’s work well. But the next call, the client
    goes directly to the WebLogic and does not use anymore the proxy. I think the
    problem comes from the soap:address location.
    Thanks for your help.
    Charles

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • I have an "old" Apple ID set up 13 years ago.  Apple has now gone to using email address as the apple ID.  I have apps to update and they ask for old ID.  it does not exist.  How can I get the ID on the app changed to the new apple ID

    I set up an apple id many years ago when itunes was established.  Within the past year or so, Apple has changed to using email address as user id.  My problem is that I have many applications that I can not update due to the fact that it is asking for the password of the old ID.  It does not exist anymore.  Any ideas on how to get the new apple id associated with the application without deleting the application.  Several of these apps I purchased.

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • Purchased ipad already got apple id through itunes and iphone but it is not an email address ipad setup process will not allow me to use current id or change id to primary email address - do i have to have different id for ipad

    Purchased an ipad but already got apple id through itunes and iphone but is not an email address, ipad setup process will not allow me to use current id or change id to primary email address - do I have to have different id for ipad

    It does have to be a verifiable email address though, you can change it here:
    Apple ID support
    http://www.apple.com/support/appleid/

  • Can't use Find My Friends on iPhone due to Apple ID not being verified. Can't do this as I can't access my .mac email any longer and I can not change the primary e-mail address for my Apple ID!

    Can't use Find My Friends on iPhone due to Apple ID not being verified.
    Can't do this as I can't access my .mac email any longer and I can not change the primary e-mail address for my Apple ID!
    So my options are:
    Create a new Apple ID, use that and lose all the apps I've purhcased with it (a fairly substantial amount)
    Somehow Migrate these purchases over to a new Apple ID
    Apple let me change the primary ID for the account
    Anyone else ran into this before?
    I've tried accessing the mail through a mail application using the correct server information, and trying both the old 6 character password and the one I had to change it too after they updated the security guidelines - neither work.
    Help would be greatly appreciated as I can see more services down the line not working without the address being verified!

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  When you do this you may find that the password for your old ID isn't accepted.  If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You should not need to verify the old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I have changed my e-mail address and therefore need to change my apple ID. When I change it to my new address it says it is already my rescue address and cannot be used. Any ideas how to change my rescue address?

    I have changed my e-mail address and therefore need to change my apple ID. When I change it to my new address it says it is already my rescue address and cannot be used. Any ideas how to change my rescue address?

    To change the iCloud ID ("email address") you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  When you do this you may find that the password for your old ID isn't accepted.  If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

Maybe you are looking for

  • Sort of positions by creation of outbound delivery

    Hi, we use a split of the outbound delivery by a special count of positions. Now it is necessary to get all special signed materials in the first delivery. I think that means, that I have   sort the materials during the start of the delivery creation

  • Interactive forms using ABAP

    Hi ,           Is it possible to design Interactive forms in ABAP. I have a requirement for a client using R/3, there is no Portal involved so WebDynpro ABAP is not an option.In this case I am wondering is this a possibility using general ABAP. Cheer

  • How did I add my new music (not from itunes) on my phone?

    I downloaded some music from another location. It is showing up in my itunes, but when I plug my iphone 5 into the computer, my new music isn't showing up. How do i sync this new music to my phone? This phone has been giving me so many problems and i

  • Attach Interactive form to R/3 workflow

    I have created an interactive form in Web dynpro ABAP on the portal client 7.0. I want to attach the form to workflow in R/3 4.7. Can anyone help on how to go about this.

  • My questions aren't getting posted

    i wanted to post a question about people experience with macbook pro reitna but after a few minutes they weren't there. any ideas?