WSDL Regeneration - Keeping the WSDL URL same
Hi All,
We have a FM exposed to a non SAP system via a WSDL.
This is currently working fine.
However, a requirement has altered the structure of the FM, thus forcing the WSDL to be regenerated.
But this process generates a new WSDL.
The issue is to incorporate the changes without changing the name and the URL of the existing WSDL.
How may we do that.
Thanks and Regards,
Ravi Bhatnagar
Hi,
We have an ABAP webservice exposed to an IVR application.
The FM had undergone a change wherein an existing export parameter was changed and another added.
In order to regenerate the webservice, we went into SE80 and activated the WS.
This happenned successfully.
However, when I try to Test my WS in SOAManager I am unable to see the changed structure as well as the newly added fields.
Any clues??
Thanks and Regards,
Ravi Bhatnagar
Similar Messages
-
WSDL URL is invalid or the WSDL file is not valid or incorrect
Hi All,
I am using Oracle Soa Suite 11g. I have got Oracle database, Oracle weblogic admin server, Oracle SOA server all installed on my laptop.
I have deployed a sample BPEL process. When I am trying to test the process it is giving an error
"Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://KSNPavan-PC:8001/soa-infra/services/default/MyHumanWorkFlowSample1Project/vacationrequestprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused: connect "
Now, when I change the url address to
"http://localhost:8001/soa-infra/services/default/MyHumanWorkFlowSample1Project/vacationrequestprocess_client_ep?WSDL"
(Please note the difference in host name from KSNPavan-PC to localhost.)
and click parse wsdl it is working well. I mean the test page is opening successfully and I am able to test the service.
Testing the service from admin console is fine. Now I want to use this BPEL process service in another BPEL process. So, when I am piciking this service wsdl in JDeveloper it is throwing me the same error and I am unable to go ahead.
Can anyone please tell me whetherI have to set property in the admin server console so that it always take local host in all the wsdl urls and solve my problem.
Thank you,
KSN Pavan.Hi All,
My problem has got solved with the help of my colleagues. Actually the problem was that the host name KSNPavan-PC is not there in the C:\Windows\System32\Drivers\etc\hosts file. I Added the host name in the file with the IP same as that of local host and everything isworking well now.
Thank you,
KSN Pavan -
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect.
Hi ,
i deployed one bpel process in weblogic.
when i am click on test below is error is coming. ( its on oracle soa 11)
below is coming for all the process. previously it is working fine.
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://xxxx:8001/soa-infra/services/default/ReadJMS/readtraxjms_client_ep?WSDL: HTTP connection error code is 503
Please help me how it is resolved.
Regards
janHi Jan,
We had the same issue in 11.1.1.3 and we used to restart the server to fix it. Hopefully before going to PROD we upgraded to 11.1.1.5 and next time we saw this issue was only when there was some problem with the OHS (it was down etc.).
Which version you're on?
Regards,
Neeraj Sehgal -
How can I determine the WSDL URL for an Enterprise Service defined in ECC
I have an Enterprise Service that is defined in ECC and I can see the function definition for it via transaction code se80, ABAP Development Workbench. However when I open up the Service Definition for the Function and click on the WSDL tab the URL I see is not correct.
How do I find the proper Enterprise Service WSDL URL?
Sam
PS: Posted on behalf of some colleagues...
I wonder if someone from Exton knows the answer???Will someone please tell me this so I can give them points:
First you have to call transaction SOAMANAGER in your ECC system. It will then open up a new browser window. Then select the Single Service Administration link and a new screen will open. Then search and select your WebService and press the Apply Selection button. Then you can select the wsdl from the grid below. If no wsdl was previous created you can Create a New Endpoint which will generate one. The browser window that opens up will have the WSDL URL set in the Address bar.
Sam -
Where is the portlet WSDL URL stored?
I followed instruction :
http://www.oracle.com/technology/products/jdev/11/cuecards111/jps_set_62/ccset62_ALL.html
regesterred a portlet with my Jdeveloper.
However, I'm not sure which file keep the portlet WSDL URL. I did enterred this information during the registration of portlet. but after that, I'm not able to see it stored in any file.
I would like to get this information as I need to change it after the deployment.
ThanksHy Aacc,
I'm not sure about that,I know that you can build WSRP and JSR 168 portlets, but I don't kwon the deployment process for each one, just WSRP.
Anyway in documentation you can find something about that: http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_intro_portlets.htm#CIHDEBBJ
Here in my company we're using WSDL since Oracle Portal and works fine.
About WLS Console and EM, I didn't find this configuration in WLS Console, anyway when you deploy your application with Jdev you'll choose MDS repository, in this screen has a tab for this configurantion. I'll search again in WLS Console, but I didn't find yet.
[]'s
Nelson -
Provide Webservice link not generating corresponding WSDL URL based on the service operation.
Hi All,
The provide webservice link is not generating corresponding WSDL URL based on Service Operation.
E.g. Currently we have two service operations namely Create and Update. We are using Rowset based messaging. Provide Webservice link generated correct WSDL URL for the create operation but it is providing the same URL for Update operation as well. kindly share your knowledge if you guys ever faced similar problem.
Regards
ViswaHi Hakan,
Thanks for your reply. Actually i am trying to generate WSDL URLs for each service operation for Travel & Expense module like create expense, update expense etc.
URL generated looks like this : http://xxx.xx.xxx.xx:8011/PSIGW/PeopleSoftServiceListeningConnector/HX_TE_EXPENSE_CLAIM.16.wsdl - this url is meant for CREATE operation. But for the UPDATE operation i am getting the same URL . Normally, Whenever i create WSDL URL for different operation the numeric part of the above URL changes like 16, 17 etc ..based on the service operation but no two operation have same URL like i am getting now. Please provide your knowledge on this issue.
Regards
Viswa -
How do you keep the same URL connection connected continuously?
I am trying to extract information from a web page, but it puts a cust_id in the middle of the URL. It generates the cust_id randomly everytime you use the site. I connect to the initial URL to find the cust_id, I substring that to the new URL and then make a new connection to extract the information, but the web page gives me an error saying that it doesn't recognise the cust_id. As if it was a new connection with the wrong cust_id.
How can I keep the first connection open and with the same cust_id information and then jump to another web page but using the initial connection. Using IE6 I can just cut and paste the second URL and get to the page, but with my java application it doesn?t work. Please have a look at my code and let me know if I am doing anything wrong.
URL inputURL;
String inputLine;
URLConnection connection;
String page = "";
int x;
String cust_id1 = "";
String cust_id2 = "";
String site;
File outputFile = new File("web.txt");
FileWriter out = new FileWriter(outputFile);
try
inputURL = new URL("http://www-ets.woolworths.com.au/ets/owa/login?topage=search");
connection = inputURL.openConnection();
BufferedReader inputStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
while ((inputLine = inputStream.readLine()) != null)
page = page + inputLine;
System.out.println(inputLine);
x = inputLine.indexOf("cust_id=");
if (x != -1)
cust_id1 = inputLine.substring(x, x + 14);
PrintWriter file = new PrintWriter(new FileOutputStream("web.txt"));
out.write(page);
out.close();
System.out.println("1st time successful");
System.out.println(cust_id1);
//inputStream.close();
//extracted the customer id, now able to search for the product
//test for milk
site = "http://www-ets.woolworths.com.au/ets/owa/items?search_pattern=milk&";
site = site + cust_id1;
site = site + "&imode=search&search_option=";
System.out.println(site);
inputURL = new URL(site);
BufferedReader inagain = new BufferedReader(new InputStreamReader(inputURL.openStream()));
//tried the connection way
//connection = inputURL.openConnection();
//BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
while ((inputLine = inagain.readLine()) != null)
//System.out.println(inputLine);
x = inputLine.indexOf("cust_id=");
if (x != -1)
cust_id2 = inputLine.substring(x, x + 14);
System.out.println(cust_id1);
System.out.println(cust_id2);
System.out.println("2nd time completed");
inputStream.close();
catch(ArrayIndexOutOfBoundsException obe)
System.out.println("Usage: FetchURL url");
catch(IOException ioe)
System.out.println("IO Exception");Please have a quick look at my code and see if I am doing anything wrong. I havent been able to set the correct cookies and the output html page comes up with an error saying that it could not retrieve my request. This time there is no mention of invalid cust_id.
try
URL inputURL = new URL("http://www-ets.woolworths.com.au/ets/owa/login?topage=search");
connection = inputURL.openConnection();
System.out.println("filename = " + inputURL.getFile());
BufferedReader inputStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
while ((inputLine = inputStream.readLine()) != null)
//System.out.println(inputLine);
page = page + inputLine;
x = inputLine.indexOf("cust_id=");
if (x != -1)
cust_id = inputLine.substring(x + 8, x + 14);
out.write(page);
out.close();
System.out.println("extracted cust_id: " + cust_id);
for (int i = 1; i <= 30; ++i)
System.out.println(" Header " + i + ": " + connection.getHeaderFieldKey(i) + ": " + connection.getHeaderField(i));
header = header + connection.getHeaderFieldKey(i);
header = header + ": ";
header = header + connection.getHeaderField(i);
outcookie.write(header);
outcookie.close();
inputStream.close();
//extracted the customer id, now able to search for the product
//test for milk
String url2 = "http://www-ets.woolworths.com.au/ets/owa/items";
//String url2 = "http://www-ets.woolworths.com.au/ets/owa/login?topage=search";
inputURL = new URL(url2);
connection = inputURL.openConnection();
connection.setDoOutput(true);
//connection.setUseCaches(false);
System.out.println("filename = " + inputURL.getFile());
String date = "; expires=Mon, 28 Jan 2002 02:53:17GMT; path/;";
String date1 = "expires=Sun, 31 Dec 1989 14:00:00 GMT; path/;";
connection.setRequestProperty("cookie", "qwc=" + cust_id + date);
connection.setRequestProperty("cookie", "cust_id=" + cust_id + "; path=/;");
connection.setRequestProperty("cookie", "cd=2%40142%40%40%40%40N%40; path=/;");
connection.setRequestProperty("cookie", "state=NSW; path=/;");
connection.setRequestProperty("cookie", "dsd=1; path=/;");
connection.setRequestProperty("cookie", "sb1=0%2A%2D645746%2D0%2A; path=/;");
connection.setRequestProperty("cookie", "sb2=0; " + date1);
connection.setRequestProperty("cookie", "sb3=0; " + date1);
connection.setRequestProperty("cookie", "sb4=0; " + date1);
connection.setRequestProperty("cookie", "sb5=0; " + date1);
connection.setRequestProperty("cookie", "sb6=0; " + date1);
connection.setRequestProperty("cookie", "sb7=0; " + date1);
connection.setRequestProperty("cookie", "sb8=0; " + date1);
connection.setRequestProperty("cookie", "sb9=0; " + date1);
connection.setRequestProperty("cookie", "sb10=0; " + date1);
connection.setRequestProperty("cookie", "sbn=; path=/");
connection.setRequestProperty("cookie", "search=milk; " + date1);
//connection.setRequestProperty("Content-type", "application/octet-stram");
//connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
//String parms = "?search_pattern=" + URLEncoder.encode("milk") + "&cust_id=";
//parms = parms + URLEncoder.encode(cust_id);
//parms = parms + "&imode=" + URLEncoder.encode("search") + "&search_option=";
//System.out.println("parms : " + parms);
String parms = "?search_pattern=milk&cust_id=";
parms = parms + cust_id;
parms = parms + "&imode=search&search_option=";
System.out.println("parms : " + parms);
PrintWriter outStream = new PrintWriter(connection.getOutputStream());
outStream.println("parms");
outStream.close();
BufferedReader inputStream1 = new BufferedReader(new InputStreamReader(connection.getInputStream()));
//BufferedReader inagain = new BufferedReader(new InputStreamReader(connection.getInputStream()));
while ((inputLine = inputStream1.readLine()) != null)
//System.out.println(inputLine);
page2 = page2 + inputLine;
x = inputLine.indexOf("cust_id=");
if (x != -1)
cust_id2 = inputLine.substring(x + 8, x + 14);
out2.write(page2);
out2.close();
System.out.println("2nd attempt cust_id" + cust_id2);
for (int i = 1; i <= 30; ++i)
System.out.println(" Header " + i + ": " + connection.getHeaderFieldKey(i) + ": " + connection.getHeaderField(i));
header2 = header2 + connection.getHeaderFieldKey(i);
header2 = header2 + ": ";
header2 = header2 + connection.getHeaderField(i);
outcookie2.write(header2);
outcookie2.close();
inputStream.close();
}The original web page to get the cookie is
http://www-ets.woolworths.com.au/ets/owa/login?topage=search
Enter a search product eg milk and that is the second page I am trying to extract.
You will notice in the middle of the url is cust_id.
Am I going about this 2 pages completely wrong? -
Invoking a web service with the WSDL URL given at run time
I have created a very Simple Web Service using Netbeans 6.0 as an EJB Module. I have successfully created clients to access the web service, both through a Composite Application and through a simple Java Desktop Application, using the create "New Web Service Client" option, either by pointing to the EJB project either by providing the WSDL URL.
What I want now, is for the Java Desktop application to be able to consume the service after it has discovered the WSDL URL at runtime (e.g. through UDDI).
From what I have been able to find on the web, I should use the javax.xml.ws.Service class. But when I attempt to use the getPort method I get the exception:
"com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class mypackagename.jaxws.MyWebServiceName is not found. Have you run APT to generate them?"
Since I know that this class is not needed for the Web Service to be accessed, when the two procedures I describe above are used, I wonder what I can do to get this to work.
I have tried using apt from the command line but it can't find Java EE classes, so it doesn't work.
NikosHi Yarecki,
I'm afraid I'm also a newbie, and I'm feeling my way around things.
I have written some code. However, you should be warned that... it doesn't work!
String wsdlLocation;//=...some URL...
String input;//=...XML...either SOAP message either SOAP payload
try{
java.net.URL wsdlURL = new java.net.URL(wsdlLocation);
//these should be extracted from the service WSDL document
java.lang.String serviceName = "CalculationServiceService";
java.lang.String portName = "CalculationServicePort";
String namespace = "http://localhost:8080/CalculationServiceService";
javax.xml.transform.Source inputSource = new javax.xml.transform.stream.StreamSource(new java.io.StringReader(input));
javax.xml.namespace.QName serviceQName = new javax.xml.namespace.QName(namespace, serviceName);
javax.xml.namespace.QName portQName = new javax.xml.namespace.QName(namespace, portName);
javax.xml.ws.Service service = javax.xml.ws.Service.create(wsdlURL, serviceQName);
javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.MESSAGE);
//javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
//service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.PAYLOAD);
//alternative method, with different input
javax.xml.transform.Source replySource = dispatch.invoke(inputSource);
javax.xml.bind.JAXBContext jc = javax.xml.bind.JAXBContext.newInstance(nikos.test.CalculationResult.class);
javax.xml.bind.Unmarshaller unm = jc.createUnmarshaller();
nikos.test.CalculationResult result = (nikos.test.CalculationResult)unm.unmarshal(replySource);
System.out.println(result.getResult());
} catch (JAXBException ex) {
JOptionPane.showMessageDialog(this, ex);
ex.printStackTrace();
} catch (MalformedURLException ex) {
ex.printStackTrace();//this should not happen.
}In fact I'm getting a weird error
javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
//lines from my source code are here
Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
at com.sun.enterprise.security.jmac.config.PipeHelper.makeFaultResponse(PipeHelper.java:328)
at com.sun.enterprise.security.jmac.config.PipeHelper.getFaultResponse(PipeHelper.java:366)
at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:223)
at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:129)
at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:129)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: java.lang.NullPointerException
at com.sun.xml.ws.tx.service.TxServerPipe.process(TxServerPipe.java:163)
at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:218)
... 39 moreAs I've said before I've called this web service successfully using three different methods.
It appears it has something to do with security issues, but I've no security at all... -
How to find the WSDL URLs in NW CE 7.1 EhP1?
Hi,
I have upgraded my dev system from NW CE 7.1 SP5 to NW CE 7.1 EhP1. In this new version, the layout of the Web Service Navigator changed.
I used to use the old WS Navigator to find out the URLs where the WSDLs for services are available. I deployed my components (EJB projects with web services implemented by Enterprise Beans), located them in the WS Navigator and used the WSDLs there to generate Java clients to that services.
However, the new WS Navigator does not show the WSDL URL any more if you choose "Vendor System (Anwendersystem)" and then "Local AS Java (Lokaler AS Java)".
Any ideas where I can get the WSDL URLs? I have been searching the whole NW Administrator, but could not find that information.
Best regards,
Patrik
Edited by: Patrik Spiess on Feb 18, 2009 3:58 PM
Edited by: Patrik Spiess on Feb 18, 2009 3:59 PMPatrik, you can also view the WSDL url in WS Navigator:
1 - In "Service Test" tab, choose your service, and follow all steps until to get the result of the service execution (step 4);
2 - In Step 4 (Result), click in "Add to Test Scenario";
3 - In "Test Scenario" tab, choose the test scenario of your service and click in "Change Services Access";
4 - Now, you can see the WSDL url in the popup.
Best regards,
Fabiano Rosa -
An IOException was thrown trying to access the WSDL at the given URL.
Hello
I deployed webservices on weblogic 8.1.5. I defined Security policy on webservices. The server is allowed to access from both inside and outside our domain. When I access with internal ip address, trying to test methods from Launch Test Page from Admin console. When I test a method, it prompts for user name and password. I enter username and password, the invocation is successful.
After I access Launch Test Page with external ipaddress (from outside the domain), trying to test method, the server did not ask me username and password, I get following exception. The only port open to external world is 80. The apache is configured with wlplugin and divert all trafic to port 7001.
I was wondering if any one has seen this and how did you fix. Please advise. I appriciate your help.
Thank you,
Balaji
<Apr 18, 2006 5:50:12 AM CDT> <Info> <WebService> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
<Apr 18, 2006 5:50:12 AM CDT> <Info> <WebService> <BEA-220034> <A stack trace associated with message 220094 follows:
java.io.FileNotFoundException: Response: '403: Forbidden' for url: 'http://XXX.XXX.XX.XX:80/eventws/EventManagementService?WSDL'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:425)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(DefinitionFactory.java:126)
at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:76)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:108)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:84)
at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:295)
at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343)
at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266)
at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158)
at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
<Apr 18, 2006 5:51:32 AM CDT> <Info> <WebService> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
<Apr 18, 2006 5:51:32 AM CDT> <Info> <WebService> <BEA-220034> <A stack trace associated with message 220094 follows:
java.io.FileNotFoundException: Response: '403: Forbidden' for url: 'http://XXX.XXX.XX.XX:80/eventws/EventManagementService?WSDL'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:425)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(DefinitionFactory.java:126)
at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:76)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:108)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:84)
at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:295)
at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343)
at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266)
at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158)
at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
<Apr 18, 2006 5:54:57 AM CDT> <Info> <WebService> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
<Apr 18, 2006 5:54:57 AM CDT> <Info> <WebService> <BEA-220034> <A stack trace associated with message 220094 follows:
java.io.FileNotFoundException: Response: '403: Forbidden' for url: 'http://XXX.XXX.XX.XX:80/eventws/EventManagementService?WSDL'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:425)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(DefinitionFactory.java:126)
at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:76)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:108)
at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:84)
at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:295)
at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343)
at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266)
at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158)
at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)<pre></pre><pre></pre>urlurlHi Francois,
The JAR file generated by the <clientgen> Ant task, has a static WSDL inside it.
To get your JAX-RPC client to use it, write code that looks like this:
MyService_Impl service = null;
MyServicePort port = null;
try
// There are two constructors for every XXX_Impl class.
// The one that accepts a wsdlURL (as a String) will
// request the WSDL from the service provider. The
// no-arg one will just use the statis WSDL in the
// client.jar generated by the <clientgen> Ant task.
service = new MyService_Impl();
port = service.getMyServicePort();
MyObject response = port.myServiceOperation();
Again, this will cause the WLS client-side JAX-RPC classes, in the webserviceclient.jar,
to use the static WSDL (in the client.jar generated by the <clientgen> Ant task)
to invoke the target web service. It will not send a request to the target web
service to retrieve it's WSDL, because it already has it.
Regards,
Mike Wooten
Francois Staes <[email protected]> wrote:
>
Hello,
I'm trying to access some simple web services which are implemented using
some Perl module (don't ask ....).
After I've gotten their WSDL file, I can successfully generate stubs
using
the clientgen ant task.
However, when I try to access the webservice from within my EJB's, I
get the
following error message:
An IOException was thrown trying to access the WSDL at the given URL.
java.io.FileNotFoundException: Response: '411: Length Required' for url:
'http://petest01:8082/cgi-bin/WebStore.cgi'
It seems as if the perl SOAP implementation doesn't allow me to check
their
WSDL file. Just sending the SOAP POST messages works fine.
I explicitly specified the 'saveWSDL' option to the clientgen task, but
it
still tries to access the WSDL file at runtime. Any way to resolv this
issue?
Regards,
Francois Staes. -
WebServiceException while calling the service :No WSDL URL
Hi,
I am facing the below issue.I created the deployable proxy(generate ejb skeleton) and client application by(generate client) with the imported WSDL from ESR.
I tried many times without any luck do u know whats the issues?
Caused by: javax.xml.ws.WebServiceException: No WSDL URL is specified for service [class com.mt.pi.bo.gl.mdm.distributemasterdata.DistributeMasterDataService] on service creation.
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.<init>(SAPServiceDelegate.java:111)
at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createDelegate(CTSProvider.java:170)
at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createServiceDelegate(CTSProvider.java:151)
at javax.xml.ws.Service.<init>(Service.java:57)
at com.mt.pi.bo.gl.mdm.distributemasterdata.DistributeMasterDataService.<init>(DistributeMasterDataService.java:14)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sap.engine.interfaces.webservices.server.wsclient.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:75)
at com.sap.engine.lib.injection.ReferenceObjectFactory.getObject(ReferenceObjectFactory.java:65)
at com.sap.engine.lib.injection.FieldInjector.inject(FieldInjector.java:113)
... 44 more
Regards
SabariDoes the imported WSDL web service connect to the back end system? Was XI configured to call that service? Or is that a service exposed by ECC directly? Just importing a WSDL might not work without making the required connections between the associated systems.
VJ -
How to keep the same URL with a redesigned website
I have completely redesigned my muse website and want to replace the old one which is already live. How do I go about doing so and keeping the same URL?
Hi
You can upload the site to root which would replace the existing one.
http://helpx.adobe.com/muse/topics/exporting-publishing.html
Thanks,
Sanjit -
How to find the WSDL URL for my deployed portlet
Hello,
I do not find the WSDL URL for my deployed portlet. I deployed a Portlet correctly with JDeveloper to a remote Oracle AS.
In the tutorial they write:
"Now use the URL provided in the log page at the bottom of JDeveloper to get part of your URL (e.g. http://myserver.uk.oracle.com:8888/my-portlet) and complete the URL.
http://myserver.uk.oracle.com:8888/my-portlet/portlets?WSDL
Now use this URL to register your portlet with OracleAS Portal."
But in the log there is nothing like this! The log ends like this:
"DCM command completed successfully.
Output:
Exit status of DCM servlet client: 0
Elapsed time for deployment: 13 seconds
---- Deployment finished. ---- 11-Mar-2006 12:26:58"
Can anyone tell me where to finde the WSDL Url?
Thank you.OK I think that I found a quick workaround for this issue. Creating a redirection URL using the parameter icm/HTTP/redirect_<xx> works for me.
Parameter:
icm/HTTP/redirect_0 (Value '0' may differ for your system)
Value:
PREFIX=/ws1, TO=/sap/bc/srt/wsdl/srvc_08002720027F1EE3AEAAFED3B5688C63/wsdl11/allinone/ws_policy/document?sap-client=001
Now the WSDL URL can be reached at
http://was730.dvlopr.com:8000/ws1
Tested!
Best regards -
Dear sir/madame,I have tried to use the inbrowser editing capability for Adobe Muse to login to my CMS. To login I have use the exact same FTP details I have used to upload my website, I even checked the page url multiple times but I keep getting the same error (the username and password are invalid for your FTP server. Please check them and try again). The hosting website (Yourhosting.nl) only has this one FTP user, which I cannot expand to more users. Can you please tell me if I am doing something wrong? The url to this page is http://e-divecollege.be/index.html or www.e-divecollege.be
Dear sir/madame,I have tried to use the inbrowser editing capability for Adobe Muse to login to my CMS. To login I have use the exact same FTP details I have used to upload my website, I even checked the page url multiple times but I keep getting the same error (the username and password are invalid for your FTP server. Please check them and try again). The hosting website (Yourhosting.nl) only has this one FTP user, which I cannot expand to more users. Can you please tell me if I am doing something wrong? The url to this page is http://e-divecollege.be/index.html or www.e-divecollege.be
-
Development and access to external WSDL URL
Hi All,
I am developing a SOA application with BPEL composite which also makes calls to an external third party webservice. Due to security reasons, the external third party webservice URL is only accessible from our Development server machine (and not my local machine running JDeveloper). Issue with this is the SOA application development is done using Jdeveloper 11.1.1.4 on my local machine.
Overview of my application is
WebService (Synchronous Request/Response Client interface ) ---> BPEL ---> Third Party webService (Partnerlink)
1) Using the Client interface the user enters startTime and EndTime values
2) The startTime and endTime is input message to the BPEL process.
3) The BPEL process then sends the request to the third party web service (partnerlink) and gets a response message back and returns to the client.
I tried workaround for the same by asking the third party for WSDL and associated XSDs and included these locally in my SOA application project. However trying to deploy the completed SOA application and keep getting this error.
ERROR MESSAGE_
[03:40:25 PM] Error message from server:
There was an error deploying the composite on WLS_SOA: Error occurred during deployment of component: DataRetrievalService to service engine: implementation.bpel, for composite: DataRetrievalService: ORABPEL-09705
Could not initialize variable.
An error occurs while initializing BPEL variable RetrieveEventSummary_GetEventSummary_InputVariable; the schema processor cannot find the element {http://schemas.internet.com/asiapac/cad/integration/1.0.0}GetEventSummaryRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@1cf57b6b.
The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
Ensure that the element named in the error message is valid in the XSD or the WSDL.
Questions_
1) Please suggest, is it possible to develop a SOA application which makes service call to external URL, while the local development machine cannot access the external WSDL URL.
2) Also, in such cases in future deployments to test and production do I still need access to external WSDL URL from my machine. I deploy the completed SOA application from my local machine to the Development Server. The Development Server machine is configured to accessed the third-party WSDL URL.
Thanks
Edited by: user5108636 on 11/07/2011 23:53It seems WSDL is not complete or invalid. Check whether it references element {http://schemas.internet.com/asiapac/cad/integration/1.0.0}GetEventSummaryRequest and this element has been defined in the XSD imported/defined in WSDL.
1) Please suggest, is it possible to develop a SOA application which makes service call to external URL, while the local development machine cannot access the external WSDL URL.Yes, it is possible but complete and valid WSDL must be available locally.
2) Also, in such cases in future deployments to test and production do I still need access to external WSDL URL from my machine. I deploy the completed SOA application from my local machine to the Development Server. The Development Server machine is configured to accessed the third-party WSDL URL.If server can access the third party WS URL then that is sufficient. No need to have access from local machine. Just deploy it on server and then test there.
Regards,
Anuj
Maybe you are looking for
-
Since my work machine was upgraded to a Windows 7.1 pc, I can no longer connect remotely with my Macbook Pro with 10.6.8. I need to know the most efficient and economical way of doing this and if I can skip versions to get where I need to be. Suppo
-
please help me!!
-
Deleted email and now can't get it back
i deleted my university email account by accident. I've tried to readd the email and it is saying its unable to set it up even though its been fine on the phone for months. i've tried to "provide the settings to add the email account" and stating its
-
IPhone with w/pictures causes windows to crash
I have seen a lot on this topic but nothing seems to work for me. IPhone 3G (8 gig) Windows 7 OS 2 gig ram IPhone OS 3.1.2 wasn't working then I deleted a zonet webcam and its related apps. I also deleted skype I was able to start sync w/o crashing a
-
LG MKJ-4065-3801 LCD TV remote programming instructions.
Need instructions on how to program the remote for LG MKJ-4065-3801 LCD TV. Need to program it to control Toshiba DVD player. Don't find any instructions or codes in the owner's manual or on the LG support site.