The service cannot be found for the endpoint reference (EPR) 127.0.0.1/a
Hi All:
I need help!!!
I am using axis2-1.5.1, jdk 1.6, eclipse 3.5, and Axis2_Codegen_Wizard_1.3.0 and windows xp.
I used Axis2_Codegen_Wizard_1.3.0 to generate the client stub and proxy.
I get the following error when I tried to call the web service:
package com.ttdev.ss.client;
import java.rmi.RemoteException;
import com.ttdev.ss.client.SimpleServiceStub.ConcatRequest;
import com.ttdev.ss.client.SimpleServiceStub.ConcatResponse;
public class SimpleClient
public static void main(String[] args) throws RemoteException
try
SimpleServiceStub service = new SimpleServiceStub();
ConcatRequest request = new ConcatRequest();
request.setS1("abc");
request.setS2("123");
ConcatResponse response = service.concat(request);
System.out.println(response.getConcatResponse());
catch(Exception e)
System.out.println("e.getMessage():"+e.getMessage());
Here is my SimpleService.wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="SimpleService" targetNamespace="http://ttdev.com/ss" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://ttdev.com/ss" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:types>
<xsd:schema targetNamespace="http://ttdev.com/ss">
<xsd:element name="concatRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="s1" type="xsd:string"/>
<xsd:element name="s2" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="concatResponse" type="xsd:string">
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="concatResponse">
<wsdl:part name="parameters" element="tns:concatResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="concatRequest">
<wsdl:part name="parameters" element="tns:concatRequest">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="SimpleService">
<wsdl:operation name="concat">
<wsdl:input message="tns:concatRequest">
</wsdl:input>
<wsdl:output message="tns:concatResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SimpleServiceSOAP" type="tns:SimpleService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="concat">
<soap:operation soapAction="http://ttdev.com/ss/NewOperation"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SimpleService">
<wsdl:port name="SimpleServiceSOAP" binding="tns:SimpleServiceSOAP">
<soap:address location="http://localhost:8080/axis2/services/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
In the dos-prompt, I get the following error message:
[INFO] Listening on port 8080
[ERROR] The service cannot be found for the endpoint reference (EPR) 127.0.0.1/a
xis2/services/
org.apache.axis2.AxisFault: The service cannot be found for the endpoint referen
ce (EPR) 127.0.0.1/axis2/services/
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPha
se.java:65)
at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:167)
at org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:26
6)
at org.apache.axis2.transport.http.server.AxisHttpService.doService(Axis
HttpService.java:281)
at org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(
AxisHttpService.java:187)
at org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpS
erviceProcessor.java:82)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
Thank you for your help!!!
Yours,
John.
I had the same issue and managed to fix it.
I am using tomcat and had a filter configured for AxisServlet to open a hibernate Session. Somehow (I did not figure it out yet) this filter afects the way the AxisServlet resolves the EPR.
My fix was - remove the filter. It worked. Now I am trying to figure out why.
If you have any clues, please drop a line.
Similar Messages
-
Org.apache.axis2.AxisFault: The service cannot be found for the endpoint
Hi Team,
I'm getting following error while runnig WebServices
[ERROR] The service cannot be found for the endpoint reference (EPR) /TestServices/services
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /TestServices/services
Please guide me where i went wrong
Thanks in Advance
RaviI am also facing the same problem. can any body help us?
Thanks
jaya -
REP-1352: The fonts specified for this report cannot be found for the char
We have migrated all our character reports to oracle 10g - sun solaris machines.
Now, these reports give us an error....
REP-1352: The fonts specified for this report cannot be found for the character set specified by NLS_LANG
Does anyone have suggestions.
desformat - DELIMITED
mode - character
ThanksHi,
Did you check this DocId:203781.1. I think it will help you problem.
Moreover does your X-server or vnc server on HP work fine.
In the past with HP version 11.0 there was always problem with HP x-server. just check that your x-server is runinig will ex. x-clock.
Cheers,
Hamdy -
iTunes told me to delete my backup folder when I was having problems syncing my phone to my computer. After that it wouldn't work at all. After trying and trying I deleted iTunes when it said "iTunes could not back up iPhone because the backup could not be saved on the computer"and now it wont let me install it again and keeps saying "itunes cannot be installed because the file cannot be found in the cabinet ". What the **** itunes? Nothing is working!!
I wanted to update my iTunes so I could sync my phone to my computer and update my phones software so I can use the latest apps that need a 4.2 or higher.
This is not fun for me so if anyone knows what I can do to fix this please help. Is it possible to download the "cabinent file" with the lastest iTunes?
Thank you.
-Kait
My phone is the iPhone4 and my computer is a Windows VistaI doubt that corrupt files are the problem. It is more likely a space or permissions issue. Is the hard-drive on which iTunes is stored close to capacity? Do you (or the particular user profile you have logged on with) have the requisite permissions to save to that drive?
Otherwise, do you get an error code? This might point us in the right direction. -
Getting error message as shown: "The file 'Acknowledgements.rtf' cannot be installed because the file cannot be found in the cabinet file 'iTunes.cab'. Is there something wrong with the latest installer? (11.3.1)
Installs fine for me, so I'd guess you got an incomplete or corrupt download. See the Further Information area of Troubleshooting issues with iTunes for Windows updates for direct links and download a fresh copy of the installer.
tt2 -
i upgrade ios 4 to ios 5.It is completed but when i try to restore all the apps back up before,at last it's written the apps cannot be found(all the apps).
The backup that itunes performs does no include any itunes content ( apps/music/vids/etc).
You should have transferred any purchases to your computer.
If you failed to do this, then you will have to redownload:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
Post Author: Farooque
CA Forum: Other
Hi,
I am using Crystal report viewer (Crviewer.dll) version 11.0.0.1282 to show crystal reports in my VB6 application. When we search for any text in a multipage report after the last find system shows a message "Crystal Report Viewer" "Text cannot be found in the report" and trows an unhandled error and closes the application. How can I fix this?
Please help
Thanks in advance.
Farooque. ([email protected])Enter the following:
viewer blank net crystal
into the search box in the top right corner. You should get a number of hits (Kbases and articles) that should point you to a solution.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Why does this message keep appearing when Itry to instal windows 7 through bootcamp? - "Your bootable USB drive could not be created. An error occurred while copying the Windows installation files."
Found a solution!
Follow the extended version of these directions here:
https://discussions.apple.com/docs/DOC-3581
Worked like a charm! -
The resource cannot be found in the classpath
Hi All,
I have a Java class and a PDF file in the same folder
But the PDF file is not accessible by ClassLoader.getResource(), it returns null.
What should I change to access the PDF file from within the Java class by ClassLoader#getResource() ?
Any help is really appreciated.
ReadPDF rPDF = new ReadPDF();
Class myClass = rPDF.getClass();
ClassLoader loader = myClass.getClassLoader();
URL myURL = loader.getResource("PreviewForm1210.pdf");
String path = myURL.getPath();
path = path.replaceAll("%20", " ");
// Create a PdfReader instance
PdfReader r = PdfReader.fileReader(path);
// Create a PdfDocument instance with the reader
PdfDocument d = new PdfDocument(r);
// Get page count and display on console
System.out.println("Number of pages in PreviewForm1210.pdf is " + d.getPageCount());ReadPDF rPDF = new ReadPDF();
Class myClass = rPDF.getClass();
ClassLoader loader = myClass.getClassLoader();
URL myURL = loader.getResource("PreviewForm1210.pdf");
String path = myURL.getPath();
path = path.replaceAll("%20", " ");
// Create a PdfReader instance
PdfReader r = PdfReader.fileReader(path);
// Create a PdfDocument instance with the reader
PdfDocument d = new PdfDocument(r);
// Get page count and display on console
System.out.println("Number of pages in PreviewForm1210.pdf is " + d.getPageCount()); -
THE PAGE CANNOT BE FOUND - HTTP ERROR 404
I have just installed i-WEB 08 and have tried to publish a web page. I have saved, as prescribed and, to my knowledge, there are no passwords associated with the web page. When I try to access the page using SAFARI v3.0.4 the following error message appears:
"The page cannot be found. The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please try the following: Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)"
I have checked address is as supplied and tried adding my user name to the www address without luck. Friends have also had same error message.
Can anyone supply an answer, please.Did you publish to .Mac or another host?
Were there any warnings or errors during publishing?
What is the URL of the page you get the error on?
By the way, this is the "+Previous to+ iWeb '08" forum; the iWeb '08 Forum is here:
http://discussions.apple.com/forum.jspa?forumID=1193 -
No administrator found for the task error message
Dear all,
I got the message "No administrator found for the task" when the MSS user try to approve and overtime. When i double click on the error for details, it actually give
WF notification:work item cannot be executed message no. 5W141. As got overtime, i am using the standard task 20000460 which i already maintain the agent as general task. I am using the Agent (Default Rule) rule number 157 (Superior (chief position)).
I tested it in my development and it works, however it does not work in my production. Do i miss any setting or parameter?
My R/3 backend is 4.7 with Enterprise Portal 6.
Thanks
Regards,
BryanYou hvae to refresh the organizational assignment and you can do it from SBWP txn ,
1.Execute SBWP.
2.On Menu clcik on Settings -
> Workflow Settings -
> Refresh Organizational Assignment .
and now you try to execute the workitem now you find see the error. -
Error Message: "The internet cannot be found"
I have successfully installed and configured a WRT54G2 wireless router on my primary PC running Windows Vista. I have also successfully installed and configured a WUSB54GC adapter on a older second PC running Windows/ME with 256mb of memory.
With the help of Linksys Tech Support, I have sync'd my router with the Adapter. I get the message: "You are connected to the Access point, but the internet cannot be found". The second PC continues to cycle attempting to access the internet, without any success.
I would appreciate any suggestions regarding solving this final step to the internet. Soooo close, yet so far away. Thanks in advance for any help or ideas...
Solved!
Go to Solution.Sounds like you have a conflict between your ethernet connection and your wireless. Even though you do not have a cable between computer and router, it is still on. You will have to look in your help section on how to disable lan. I had the same problem with my old pentium 1 running win98se.
Greetings from Northern Ontario, Canada -
UIXJSP App built off BC4J Project JBO Excep XML File not found for the Container
Running JDEV 9.0.3 build 960
Created a new project in folder "UIX JSP"
"UIX JSP" note the space!
Create a default UIX JSP Application based on existing BC4J Project
When running a JSP - Get a JBO Error complaining that the XML File not found for the Container
If I recreate the project with name UIX_JSP problem does not occur.I logged a bug on this.
-
There was an error in opening the doeument.. The file cannot be found
Hi,
A user from our application (IE based) is having an error in opening a pdf document. He's getting the following message:
There was an error in opening the doeument. The file cannot be found.
The error is ecnountered when the link of the document is accessed.
But I was able to open the same document and view it withouth encountering any issue. Also, the issue is not consistent.
Would you know what could have caused the error? can you suggest any things to get rid of the erro?
JoyWhat, exactly, were you trying to do when you got it, and how?
-
No Administrator found for the task (solution in FAQ not applicable sadly)
Hi All,
I have had to build a custom work item inbox due to complex client requirements, one of which being that all tasks are declared as "General tasks", so that all users can select and work them.
Work item execution is performed using the function module SWL_WI_DISPATCH (I've also tested using SAP_WAPI_EXECUTE_WORKITEM), which sometimes returns the error 'No administrator found for the task'.
I followed the standard instructions for this error message, refreshing the org assignments, transaction SWU_OBUF etc, and this did not help the issue.
The error seems to occur within the function module RH_WI_AGENT_EXECUTE_CHECK, however according to our configuration I can see no reason why users shouldn't be allowed to execute the work item, if the org assignment has been stable for several months, all tasks are generic, and the work item status is READY. There is no rule for determining agent beyond them being "General task"s.
Does anyone have any ideas? According to the data in SWWWIHEAD I can't see any reason why execution should be failing for these work items.
ThanksHi there,
almoste there
The new extended eMail notification do allow a feature, which is named "Forward by eMail" (in the general settings of SWNCONFIG). And the result is, that a work item can be executed by another user-id, who is not the actual receiver of the work item.
If you looked at report RSWNWIEX you'll find out that exactly the proposed solution is in use there, having a very usuable example already in place: (check lines 155 and following)
CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
EXPORTING
workitem_id = p_wi_id
IF lv_rc <> 0 AND cl_swn_settings=>wi_forward_via_mail = 'X'.
*- require to put back if WI is selected
CALL FUNCTION 'SAP_WAPI_ADM_WORKITEM_BACK'
CALL FUNCTION 'SAP_WAPI_FORWARD_WORKITEM'
EXPORTING
workitem_id = p_wi_id
user_id = sy-uname
COMMIT WORK. "Needs to be done before executing again
CALL METHOD cl_swf_run_wim_factory=>initialize( ).
CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
That doesn't blast a security hole, as far as I see.
Using the table SWWUSERWI directly is not advisable at that time, I'd say.
Best wishes,
Florin
Maybe you are looking for
-
A while back I changed the login that I use for my account. For some reason when I got my new iPhone, iCloud decided to log me in using the older email account. Since it doesn't technically exist anymore, I can't use it to sign into my phone. But I k
-
Error message when try to update to itunes 7.02
Hi, I'm trying to update my itunes on my iMac G5 but whenever I try to install the update it comes up with ' itunesX cannot be installed on this computer. Please quit iTunes before performing this update' I know that OS 10.3.9 is required and that is
-
Uninstalling SAP services as part of Migration
Hi , As part of DB migration , I need to uninstall SAP services on Linux + DB2 platform NW 7.0 How to unistall the SAP services. pls give the commands/ respective docs. Thanks a ton
-
Maintain default cost element in controlling area USD
Hi All, I were trying to clear vendor down payment with vendor invoice ( error)required me to Maintain default cost element in controlling area USD. Is that a way to do without making to default cost elemnt Thank you for your help Regards bali
-
Creating SSL certificate and configuring it with JBOSS 4.0.1
I have to post some data to a secured site from my application. For this, I am creating connection to that site using URLConnection and to send data I create OutputStream using the connection. But, while creating the stream it is showing SSLException