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
Similar Messages
-
Is there any way to tell what the SOAP Address Location on our Netweaver is?
I'm being told by the queryview web service WSDL call that it is
http://<server>:<port>/sap/bw/xml/soap/queryview?sap-client=100
I'm not sure if this is correct, because I can't get the queryview webservice to work correctly with adobe flex and that is the URL string it is balking at.
Any help is greatly appreciated!when you simply call this url from browser you would get the following messages
- <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
- <soap-env:Body>
- <soap-env:Fault>
<faultcode>soap-env:Server</faultcode>
<faultstring xml:lang="en">SOAP processing failure, error id = 112</faultstring>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
Regards
Raja
Consider rewarding points to helpful answers and mark it answered once you question is answered. -
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? -
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 -
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.
CharlesHi 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 -
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 -
The AQ Service Bus showme a bad wsdl ( soap:address location )from internet
Hi,
first of all, excuse my bad english :-)
I've a problem when I tray to get a wsdl file from Internet.
In Aqualogic I've configured a wsdl file with the next content:
<wsdl:service name="EmailValidation">
<wsdl:port binding="tns:EmailValidationSoap" name="EmailValidation">
<soap:address location="http://www.axonaxis.cl:7001/email"/>
</wsdl:port>
</wsdl:service>
This file is reference from a proxy service.
when I try to get the wsdl file from a browser, showme this:
<service name="EmailValidation">
<port binding="s0:EmailValidationSoap" name="EmailValidation">
<s1:address location="http://server2005:7001/email"/>
</port>
</service>
From a browser, put in "location" the server name (of course, if I try to execute the proxy service, the server not found).
Why is doing this? How can I solve this problem?
I don't have much experience in this so try to help me.
Thank you very much (Muchas gracias!)ARCHIVO HOST!!!!
-
More than one "SOAP address location"
Hi Experts,
Is it possible to have more than one"SOAP address" in wsdl file?
In ORACLE they could able to create a wsdl file with two SOAP address (SOAP 1.1 and 1.2). So, they have two bindings and two SOAP addresses in their WSDL.
Same way, can we have two SOAP address to access the service in XI?
Actually, using two different address we can access the same service.
Regards
SaraHi,
A wsdl like a normal webservice is possible to have several operations.
like create, delete, update.... whatever..
Right know one service interface in XI has only one Message type.
With 7.1 one service Interface can have several operations.
So you can use the same interface for different requests. (like. create, delete ...)
Right know a work arround is to specifiy a global message type which includes all possible request message and you do a interface determination by payload.
But i miss the point ... what you try to do ... could you describe your task at all?
regards,
robin -
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. -
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,
octavioHi,
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 -
Oracle Reports jax-ws webservice on https port shows soap address on http
- there is a Oracle Reports jax-ws webservice
- it is working fine on http port
- but on https port the wsdl show the soap address location still on http . Shouldnt it be https port ?
Is there anything end user / webservice developer can do to fix this. then we can contact Oracle Reports webservices developer with the suggestions
https://host:8890/reports/rwwebservice?wsdl
<soap:address location="http://host:8890/reports/rwwebservice"/> # http
TIA- there is a Oracle Reports jax-ws webservice
- it is working fine on http port
- but on https port the wsdl show the soap address location still on http . Shouldnt it be https port ?
Is there anything end user / webservice developer can do to fix this. then we can contact Oracle Reports webservices developer with the suggestions
https://host:8890/reports/rwwebservice?wsdl
<soap:address location="http://host:8890/reports/rwwebservice"/> # http
TIA -
[9.2] WebServices and soap:address - problem with exported EAR
I 've created a top-down web service from a wsdl file.
The soap address in the orginal wsdl file is
<soap:address location="https://localhost:7002/SITWebServices"/>
The soap address in the wsdl file that Workshop create in WebContent/wsdl is:
<soap:address location="http://localhost:10014/SITEmulator92/services/SITWebServicesPort"/>
Locally I can run test Web Services both here:
http://localhost:10014/SITEmulator92/services/SITWebServicesPort
and here:
http://localhost:7001/SITEmulator92/services/SITWebServicesPort
(port 10014 is another port which appears in Web Service Explorer)
and it works.
But when I export EAR file and deploy it on a server (ex: http://myserver.com ) I don't know what is the URL of the web service.
I tried:
http://myserver.com:10014/SITEmulator92/services/SITWebServicesPort
http://myserver.com:7001/SITEmulator92/services/SITWebServicesPort
and others... but there is no web service there.
Moreover, why the web service doesn't appear in the Web Service list under the deployed EAR (Weblogic console) ?
Thanks
Andrea
Edited by pacionet at 08/24/2007 5:31 AMThe problem was very silly: I forgot to include the libraries in the export options (Project -> Properties -> Java Build Path -> Check all the libraries).
The URLs now work. -
How is wsdl generated? Wrong soap:address...
We're using Apache in front of WLS and when the WSDL is generated for the service (i.e. from http:/URL/Service.jws) is contains a soap:address with port=80 instead of port=443 as it should.
This is a workshop generated jws.
I'm wondering how this soap:address in the generated WSDL is constructed. It must be some combination of wlw-runtime-config.xml, frontend host, etc. So far we haven't been able to find the right combo to make it work.
Thanx,
MaxIf the WSDL file is a workshop generated one, then the soap:address port number must be the same as your Apache/WLS development server's port number when the WSDL file was generated. You will need to update it during the production move to point to your production server port.
<service name="MyService">
<port name="MyserviceSoap" binding="s0:MyServiceSoap">
<soap:address location="http://localhost:80/ctx/MyService.jws"/>
</port>
</service> -
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 -
Invalid soap address, unknown protocol jms
Hi, All,
I try to create a web service project based on a WSDL which soap based on JMS as following:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="AsyncBusiness"
targetNamespace="http://www.alsb.com/AsyncBusiness/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.alsb.com/AsyncBusiness/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<types>
<xsd:schema targetNamespace="http://www.alsb.com/AsyncBusiness/"
xmlns:order="http://www.alsb.com/order/">
<xsd:import namespace="http://www.alsb.com/order/"
schemaLocation="order.xsd" />
<xsd:element name="submitOrder" type="order:Order" />
</xsd:schema>
</types>
<message name="submitOrder">
<part element="tns:submitOrder" name="submitOrder" />
</message>
<portType name="AsyncBusiness">
<operation name="submitAsyncOrder">
<input message="tns:submitOrder" />
</operation>
</portType>
<binding name="AsyncBusinessSOAP" type="tns:AsyncBusiness">
<soap:binding style="document"
transport="http://www.openuri.org/2002/04/soap/jms" />
<operation name="submitAsyncOrder">
<soap:operation
soapAction="http://www.alsb.com/AsyncBusiness/submitOrder" />
<input>
<soap:body parts="submitOrder" use="literal" />
</input>
</operation>
</binding>
<service name="AsyncBusiness">
<port binding="tns:AsyncBusinessSOAP" name="AsyncBusiness">
<soap:address
location="jms://192.168.48.1:7001/AsyncOrderSelf_WS/AsyncBusiness?URI=jms.WebServiceQueue" />
</port>
</service>
</definitions>
the problem is when I generate web service based on that, error found: invalid soap address, unknown protocol jms. How can I make it work?
I'm using workshop 10.3 for weblogic. Thanks in advance.
Best Regards,
Bill
Edited by: Bill Cao on May 20, 2009 11:13 AMBill,
Soap Address should always should be standard.
But you can change the action type under the wls binding part
for example I will provide one sample and it work perfectly at my end.
<!-- ************************************************************* -->
<!-- Web Service JMS Binding Definition -->
<!-- ************************************************************* -->
<wsdl:binding name="SampleJMSSoapBinding" type="invws:SamplePort">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms" />
<wsdl:operation name="DeleteParty">
<soap:operation soapAction="http://xmlns.oracle.com/communications/webservice/DeleteParty" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="InventoryFault">
<soap:fault name="InventoryFault" use="literal" />
</wsdl:fault>
<wsdl:fault name="ValidationFault">
<soap:fault name="ValidationFault" use="literal" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<!-- ************************************************************* -->
<!-- Web Service Port Binding Definition -->
<!-- ************************************************************* -->
<wsdl:service name="Sample">
<wsdl:port name="SampleHTTPPort" binding="invws:SampleHTTPSoapBinding">
<soap:address location="http://localhost:7001/Sample/SampleHTTP" />
</wsdl:port>
<wsdl:port name="SampleJMSPort" binding="invws:SampleJMSSoapBinding">
<soap:address location="jms://localhost:7001/Sample/SampleJMS?URI=inventoryWSQueue" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
let me know whether this will help any where.
Regards,
Kal.
Maybe you are looking for
-
Best Buy Geek Squad Warranty is terrible!!!
Not usually a social media poster, but when I searched this topic and found I was not alone, had to vent. As previously mentioned in other posts, it seems that there is a general trend for BB GS warranty service to have a major DISCONNECT between the
-
To upload a file from client machine to server machine
Hi everybody! Could anyone plz help me. I am struck in a problem I want to transfer a file from client's machine to server but I am not able to upload It is tranferring the file only to the local machine I am using orielley package It is transferring
-
Question about 'tags' in ecommerce templates?
I have a client with an Ecommerce section. Now the System email for the invoice is setup fine however the client wanted to add a 'thank you' block of text to the email. No problem. Then they came back and wanted to have the 'thank you' block of text
-
How much storage do I need to install Snow Leopard onto my 2008 MacBook?
I have a 2008 MacBook and need to install Snow Leopard to be able to connect with my ipad and iphone. But it keeps telling me there isn't enough storage space available. I have over 2Gb, isn't that enough?
-
Download report/dashboard in pdf..
Hi experts, 1.How to download reports in pdf format. 2. How to download whole Dashboard. S