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
Similar Messages
-
Wscompile warning ignoring port ... no SOAP address
Hi, all
I'm trying to run wscompile from wsdl file to get the client binding and getting the above message. The wsdl is too large to place here. All I can say is the SOAP address is specified for the PORT element with valid URL. Here is the fragment of it:
<service name="C3MortgageService">
- <port binding="tns:C3MortgageBinding" name="C3MortgagePort">
<soap:address location="http://tsta.net.na.abnamro.com:3001/CICS/CWBA/DFHWSDSH/ABNWSDSP" />
</port>
</service>
The error message is:
warning: ignoring port "C3MortgagePort": no SOAP address specified
warning: Service "C3MortgageService" does not contain any usable ports
Does anyone have any idea?
I'd appreciate any suggestions/comments/tips?
Thanks a lot.I know you said the WSDL is large but could you try to prune it down to a point where it still generates the same error, then post it here in the forum. Thanks.
-
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.
JasonI 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 -
How to configure the sort and port of a SOAP address dynamically
Hi All,
In the wsdl we have the SOAP Address defined but in practice we would like to configure the host and the port. As the server on which the service resides may/will change.
For example:
http://usciq74.wdf.sap.corp:50077/sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003
We would like to configure the proxy to point to say:
http://<host>:<port>//sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003
What we see in the Proxy Code is:
port.setSOAPAddress(new com.sap.flex.ws.runtime.SOAPAddress("http://usciq74.wdf.sap.corp:50077/sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003"));
How could this be achieved.
Please help.Hi Sumit,
Thanks for the quick response. However, I do not want to change the host and the port in the wsdl. I want it to be so, that it will pick the host and port dynamically(as you have mentioned). However, in out case, the web service has the SOAP address hardcoded as <b>http://usciq74.wdf.sap.corp:50077</b>.
We would want to write something as http://host:port and then let it pick the host and port dynamically. How is that possible.
Best Regards,
Debashree. -
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,
SubashiniIt 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'.
-
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. -
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 -
Xrpcc : Help, Warning ignoring the operation.
Hi,
I built wsdl file and tried to compile it to generate stub and ties.
After few corrections, the compile went thru with a warning:
warning: ignoring RPC-style operation "GetLastTradePrice": parameters are not encoded
I will appreciate any help.
Regards,
Sam
below is the WSDL file:
----------------------------------<?xml version="1.0"?>
<definitions
name="stockquote"
targetNamespace="http://quote.com/stockquote.wsdl"
<types>
<xsd1:schema targetNamespace="http://quote.com/stockquote.xsd"
xmlns:xsd1="http://www.w3.org/2001/XMLSchema">
<xsd1:element name="TradePriceRequest" type="Request">
<xsd1:complexType name="Request">
<xsd1:all>
<xsd1:element name="tickerSymbol" type="xsd:string"/>
</xsd1:all>
</xsd1:complexType>
</xsd1:element>
<xsd1:element name="TradePrice" type="Response">
<xsd1:complexType name="Response">
<xsd1:all>
<xsd1:element name="price" type="xsd:float"/>
</xsd1:all>
</xsd1:complexType>
</xsd1:element>
</xsd1:schema>
</types>
<message name="GetLastTradePriceInput">
<part name="body" element="xsd1:TradePriceRequest"/>
</message>
<message name="GetLastTradePriceOutput">
<part name="body" element="xsd1:TradePrice"/>
</message>
<portType name="stockquotePortType">
<operation name="GetLastTradePrice">
<input message="tns:GetLastTradePriceInput"/>
<output message="tns:GetLastTradePriceOutput"/>
</operation>
</portType>
<binding name="stockquoteSoapBinding" type="tns:stockquotePortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GetLastTradePrice">
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<soap:operation soapAction="http://quote.com/GetLastTradePrice"/>
</operation>
</binding>
<service name="stockquoteService">
<documentation>My first service</documentation>
<port name="stockquotePort" binding="tns:stockquoteSoapBinding">
<soap:address location="http://localhost:8080/stockquote"/>
</port>
</service>
</definitions>With RPC encoding style, you must use SOAP section 5 encoded parameters.
try
<soap:body use="encoded"/>
instead of
<soap:body use="literal"/> -
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 -
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. -
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$). -
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 -
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> -
[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.
Maybe you are looking for
-
I have about 1500 photos in my iPhoto '09 v8.1.2 (424) library. I had "Copy items to iPhoto library" unticked, as the photos were all stored on a Western Digital "MyBook" network drive. However, the drive exploded in a way that gave me no chance of
-
IPhoto placed 7000 pictures into one event
After recently upgrading to Mavericks and the iphoto upgrade... iphoto merged about 7000 of my 12000 pictures into one event unders the Library/Photos... It's only those 7000 that have been merged and the rest are still as I had put them... Any help
-
Hierarchy Restrictions as Per Query
Hi , We have one query that is using GL Account InfoObject. We are displaying GL account as Hierarchy in Bex Output. There are 5 hierarchies in BW for GL Account Info Object. I created one Variable to select hierarchy while running the query. When us
-
I have configured the Default Domain Controller's policy to log SUCCESS for Account Logon Events in the Server 2008 R2 Domain Controller, but these events are not logging in the Security Event log. Default Domain Controllers Policy Computer Configura
-
Keithley 238 GPIB Communication
I am using LabView 6.1 and writing an application that communicates to this instrument (among others) via GPIB. My communication to the Keithley is usually okay for a while in the beginning, but after the program has ran for about 5-10 minutes, it lo