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,
Max
If 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>
Similar Messages
-
How can i generate correct SOAP-ENV:Fault in ABAP function module?
We have clients consuming some functions from our SAP server, these functions are made available as web services. When a client passes wrong parameters to our functions we'd like to generate reasonable SOAP fault (using correct error code and error message) but simple raising (and declaring it in the corresponging section of the function module ) an exception gives us general "Internal Server Error" and that is all
Are there any way to make good SOAP Fault?
Thanx in advance.Hi,
This might be helpful:
http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm
Eddy -
Iphone email works but generates wrong return address
I'm using iphone 5 ios7
I can receive and generate email from my iphone to my pop server account. However, any email I send out has the wrong return addess -- it's missing a digit.
In settings, when I go to that account, it has the wrong address with a check mark. But all efforts to add another email, the right one, and put a check next to that to make it the default, have failed. Correct address simply does not remain on that line once I leave that screen.What part of settings are you going to where you see the email address with a checkmark? The return address for your email is set at the beginning and when you create the account. Your best bet is to delete the account and recreate it making sure all settings are correct.
I think I found where you were. When you first go into Settings and then select the account, then look under POP account information and select the email. You need to fix the default, which is the one when you create the account. That is where the error is at. You cannot change the default by adding a new address in that area.
Message was edited by: ChrisJ4203 -
Hi,I have a question with web service.
I configured my web service in soamanager and it produced wsdl document.
İtu2019s soap address location <soap:addresslocation =" http://kgtest.calik.com:443/sap/bc/srt/rfc/sap/zor/300/zor/zor " />
But this address is wrong.In other words it produced wrong soap address.
True adress is; <soap:addresslocation =" http://kgtest.calik.com:5000/sap/bc/srt/rfc/sap/zor/300/zor/zor " />
I donu2019t know how I can correct and I donu2019t know why it produce wrong address.
I hope you can help me.
Thank you.Hi,
Can you check the wsdl options. perhaps you are using an alternate port.
regards,
Bert -
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 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 -
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 -
How to create a standard SOAP request message from a given WSDL file?
Hello,
If I have a WSDL file (either from a .net web service or from the famous Amazon web services), what is the best way to generate a SOAP compliant request message?
I am having trouble understanding the role of WSDL file in a given web service.
Question 1:
If I have a web service that is implemented using jaxm, how do I create/publish a WSDL file that describes the web service?
Assuming I can generate a wsdl file, can I recreate the SOAP request message from the WSDL file automatically (that matches the original request, which is hand build by me?)
Question 2:
If I have a web service that is implemented using JAX-RPC, based on the WSDL file, can I simply generate a valid SOAP message (by some JAVA api) and get the response message directly?
thanks...I have the same question ("Assuming I can generate a wsdl file, can I recreate the SOAP request message from the WSDL file automatically (that matches the original request, which is hand build by me?)")
Have you already found an answer to this? -
How to get contents of Soap Over JMS web service's wsdl file
Hi,
Is there a way to get the soap over jms webservice's wsdl file in browser? if yes please provide me the details how to get it.
OR how can i get the contensts of WSDL file for soap over jms wsdl file.
thanks in advance.I have the same question ("Assuming I can generate a wsdl file, can I recreate the SOAP request message from the WSDL file automatically (that matches the original request, which is hand build by me?)")
Have you already found an answer to this? -
Bursting and DeliveryManager - How to identify wrong email address
Hi,
I have created a BI report (based on Data Template)
Report generates the XML and then in the afterReport trigger, I am calling Bursting Program to send emails to the customers.
Everything works fine.
Problem is:
If, there is any wrong email address, then we are NOT receiving any notification and undeliverable message.
This happens for Bursting Request (program).
I have also written a sample Java Code using "DeliveryManager" XDO class, to check whether it thorws the exception in case of wrong email ID or incorrect domain.
But it also completes successfully and without any error. (no email .... obviuosly)
import oracle.apps.xdo.delivery.*;
public class EmailTest
public static void main(String args[])
try{
DeliveryManager dm = new DeliveryManager();
DeliveryRequest req = dm.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
req.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "test mail");
req.addProperty(DeliveryPropertyDefinitions.SMTP_HOST, "appsrelay.xxx.com");
req.addProperty(DeliveryPropertyDefinitions.SMTP_FROM, "[email protected]");
req.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS, "[email protected]"); //WRONG EMAIL ADDRESS HERE
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE, "application/pdf");
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,"test.pdf");
req.setDocument("/home/appldev2/WYSEINVPRINTN2_17402678_1.PDF");
req.submit();
req.close();
catch(Exception e)
System.out.println("Exception at: "+e);
Then, I tried writing a send mail program using JAVAX EMAIL APIS.
import java.util.*;
import java.io.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class EmailTest2
public static void main(String args[])
String to = "[email protected]"; //WRONG EMAIL ADDRESS HERE
String cc = "[email protected]";
String bcc = "[email protected]";
String from = "[email protected]";
// SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
String host = "appsrelay.xxx.com";
String Subject="";
Properties props = new Properties();
// Get a session
Session session = Session.getInstance(props);
try{
Transport bus = session.getTransport("smtp");
bus.connect();
Message msg = new MimeMessage(session);
Address fromAddress = new InternetAddress(from);
msg.setFrom(fromAddress);
Address[] toAddresses = InternetAddress.parse(to);
msg.setRecipients
(Message.RecipientType.TO,toAddresses);
Address[] ccAddresses = InternetAddress.parse(cc);
msg.setRecipients
(Message.RecipientType.CC,ccAddresses);
Address[] bccAddresses = InternetAddress.parse(bcc);
msg.setRecipients
(Message.RecipientType.BCC,bccAddresses);
Subject = "test emails";
msg.setSubject(Subject);
msg.setSentDate(new Date());
MimeBodyPart p1 = new MimeBodyPart();
p1.setText(" \n" + "Please find attached the SPQ approval letter \n\n" + "Regards, \n");
Multipart mp = new MimeMultipart();
mp.addBodyPart(p1);
msg.setContent(mp);
msg.saveChanges();
bus.sendMessage(msg, toAddresses);
bus.sendMessage(msg, ccAddresses);
bus.close();
catch(Exception e)
System.out.println("Exception at: "+e);
This, program throws Exception when there is any invalid character or wrong domain specified.
"class javax.mail.SendFailedException: 553 5.1.2 <[email protected]>... Invalid host name"
Please help me to get some clue about how we can track the invalid email address and also, undeliverable emails in Bursting or XDO DeliveryManager classes.
Thanks a Lot,
-- Ejaz
Edited by: ESyd on Aug 9, 2010 1:14 AMHi,
Actually delivery failure notification is nothing to do with bursting or Delivery API, For me it deliver the notification if delivery address is incorrect (not exists), though the bursting engine does not through any error for invalid email format.
If you really looking for the solution, as a workaround :
I would use the file delivery
Implement the Bursting Status Listener
within Before Document Delivery, implement the customize delivery solution by using javax.mail logic to email the report.
For most of us, It is too much and better to raise a SR, but you already implemented the other part, so just combine these two to get what you want. -
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!!!!
-
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. -
How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.
You have to clear saved password for this page:
# Open you login page (where you have to enter username and password).
# Right click on page and select '''Page Info''' form context menu.
# On last tab ('''Security''') there is '''View saved passwords''' button, click it and delete all saved passwords for this page.
# Also clear all related cookies (just in case) there is button for this next to first one. -
I changed my Apple password and I get the information back at the wrong email address. My email address is right under my Apple ID. How do I get this corrected?
AWDunams wrote:
Okay so I associate the e-mail address as the apple ID and that seems to be a wrong assumption. I did go to my Apple ID and changes the e-mail address and the password but for the same and only Apple account I have ...
That is good. In that case, your one and only account has not changed, just the login credentials you use for it. All your previous purchases will remain associated with that account, and the new login.
In essence, an AppleID is an email, but it has two parts. One is the login email address and password everyone traditionally thinks of as an AppleID. But that in turn is linked to an account with Apple. As long as you use the manage Apple ID portal to just change the email address and/or password for your exisiting AppleID, then the internal account tracks along with those changes as well.
However, on your iOS devices, you will need to log out and then log back in with the new login credentials:
settings -> iTunes & App Stores - tap your AppleID, and choose log out. Then log back in with the new email address and new password.
Maybe you are looking for
-
How do I get my Phone to reconcile again?
Per another post - yesterday I updated to the new software and had a Fatal error. The upload stopped and left the phone dead. I eventually had to put on an older version (still 4.5 but not the newest) just to get it to work. It wiped out everything a
-
Hi Gurus, I have the following issue at hand: We posted several general ledger documents, however, the document splitting rules were incorrect and thus a great number of the documents were split incorrectly. I have corrected the document splitting ru
-
What is this about: "There was a problem connecting to Facebook."
What is this about: "There was a problem connecting to Facebook. The operation couldn't be completed. OSStatus Error -1) and then I have to hit "Okay" sometimes over 100 times or just force quit Aperture. Happened again this morning and I had to hit
-
Windows 8 64 bit instal gathering info then freezing
As per title Just bought a new laptop and am having problems installing and using itunes. Running windows 8 with 64bit The instal seems to go fine then when i go to open itunes it takes an age to open. When it finally opens it finds my itunes from th
-
# Question Im on website and video wont load bc it says I need latest flashplayer but when try to download adobe flash it says cant bc moz fox is conflicting