Local URL in WebService address and WSDL file
Hi everyone,
I developed, built and deployed my webservice on a machine. To reach the webservice from the web it has a specific IP (binded to point to a local IP) , but when i access to it the URL inside the webservice address, the reference to the wsdl file and the SOAP:ADDRESS property inside WSDL refer to my local network IP instead of "external" url ..... how is it possible? how can i change things to make Web Service always refere to the external url from which has been invoked?
Thanks in advance for help ... it's quite urgent ... thank you
just a little precisation : i deployed the webservice on tomcat, simply putting dist war file ... not using the ant deploy task.
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 to assosciate webservice to a WSDL file
Hi
I tried developing webservice(EJB as RPC) in weblogic server and installed and its working fine if i call it from client.
I am using java2WSDL(axis) tool to create a WSDL file and WSDL2Java to create stubs for client to call.I am struck in linking webservice to use the wsdl file which i have created.
I manually tried to add my WSDL file to the WAR file of my application and also Updated the web.xml file of the Web application adding a mime-mapping.
I am able to access the WSDL file in browser as http://bt885094:7001/webservice/user.wsdl
But my client tries to access the service "http://bt885094:7001/webservice/C2PUserService" which has an associated WSDL file defined as http://bt885094:7001/webservice/C2PUserService?WSDL which needs to be checking for http://bt885094:7001/webservice/user.wsdl
Could anyone tell me how to assosciate webservice to a WSDL file.
thanks in advanceThank you everyone for your help. As a complete newbie I found this nice walkthrough tutorial in onjava(i dont mean to spam).
1. View: Take a peek at the existing Fibonacci code.
2. Java2WSDL: Generate the WSDL file for the given Fibonacci interface.
3. WSDL2Java: Generate the server side wrapper code, and stubs for easy client access.
4. FibonacciSoapBindingImpl: Fill in wrapper to call the existing Fibonacci code.
5. Deploy: Deploy the service to Apache Axis.
6. Client: Write a client that uses the generated stubs, to easily access the Web service.
Given the webservice endpoint and the method name, I think I can now consume the web service using steps 3,4, and 6. -
How to combine multiple webservices into one WSDL file
Gurus,
I have 4 four webservices(ws1,ws2,ws3 & ws4) defined in XI. Normally in XI when we define webservice ,WSDL file will be generated for each interface. Now I have 4 related interfaces, so 4 WSDL files will generated. Suppose if I have 100 webservices then 100 WSDL files need to be generated & need to send to other party to consume our services, which is very tedious task & to track also. So is it possible to combine related webservices into one WSDL file? Your inputs will be highly appreciated.
Regards,
SanthoshHi,
Instead of trying to combine the interfaces, you can try to define your interface mapping with 4 sender interfaces with in one interface mapping . I think this may give you the result you are expecting.
If you want entire content to be in one interface , then, define single interface which can accomadate, all message ocntent of all 4 interfaces.Means your sender message to contain the 4 datatypes internally.
Regards,
Reyaz -
I am working on JSR 172,
I have created a server code, installed Tomcat and Axis.
Now i want to convert my .java file to .wsdd and .wsdl file the below command are not working plese help.
java -classpath lib\axis.jar;lib\saaj.jar;lib\jaxrpc.jar;lib\commons-logging-1.0.4.jar; lib\commons-discovery-0.2.jar;lib\wsdl4j-1.5.1.jar;build\classes\.;org.apache.axis.wsdl.Java2WSDL -y DOCUMENT -u LITERAL -l http://localhost:8080/axis/services/ScoreService tutorial.ScoreInterface
and this produces the below erroe
Unrecognized option: -y
Could not create the Java virtual machine.
Thanks in advance.Hi ganesh,
you have two options to get it working.
The first one is using a CanonicalEditPolicy, which creates all Nodes and Edges for you based on your semantic model. This is easy to implement, but it has some drawbacks. Your editor will get dirty after opening it, because your Notation Model is changes and no layout information is available.
The better way is to create Nodes and Edges for each semantic element you created.
For your code snippet it might look like this:
XXX model = createInitialModel();
YYY yyy = XXXFactory.eINSTANCE.createYYY();
yyy.setAttribute1("2");
yyy.setAttribute2("name");
model.getYYYs().add(yyy);
attachModelToResource(model, modelResource);
Diagram diagram = ViewService.createDiagram(model, XXXEditPart.MODEL_ID,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
Node yyyView = ViewService.createNode(diagram, yyy, SemanticHints.YYY,
,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
//Set some layout information assuming you use a XYLayout
Bounds bounds = NotationFactory.eINSTANCE.createBounds();
bounds.setX(70);
bounds.setY(20);
yyyView.setLayoutConstraint(bounds);
Regards,
Andreas -
Question about webservice and wsdl file
Hi All.
I have this scenario , the customer wants to send some information as they happen
The customer wants to use a web service to our database(JDBC)
I understand that from this requirement , I have to develop the Object in PI , and create the wsdl file to send it to the customer , this wsdl file will have the URL and other information for the consuming of the webservice.
Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
My question is it possible to create a scenario based on the cunstomer wsdl file eventhough the customer is the sender .
if so what and how the URL will be.
Thanks.Malu Mader wrote:
> Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
> but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
refer Walkthrough - SOAP XI RFC/BAPI
your URL will be;
The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel -
Netbeans and WSDL file location
Hello,
I'm new to web services and the Netbeans Web Services client wizard. I'm creating a simple web app that calls a 3rd party web service. I'm able to use Netbean's client wizard to create a ws client (stub code) from a local WSDL file. When I deploy the web app on my production server I get a javax.xml.ws.WebServiceException: java.io.FileNotFoundException when I create a new instance of the web service. This is not surprising since the production system does not have a local copy of the WSDL file at the exact path as on my dev system. I noticed the wizard seemed to have copied the WSDL file to WEB-INF\wsdl\client\ so I figured that's the file that would be used, but when I looked at the stub code it seems to have the path to my local WSDL hard coded in it. What's the correct way for deploying a web service client that is generated from a local WSDL file? I know there is a version of the Service constructor that allows you to specify a URL (and QName), but I'd rather not take this route unless it's what's supposed to be used.
TIAWe are running into the same problem. Has anyone found any information on deploying Web Service clients generated from a local WSDL?
-
Webservice client : different wsdl file for test/production environment
In an ADF application, I need call a web service in model project
In my company, we have 2 environments : test and production.
This webservice is deploye in test server and production server.
So there are 2 different wsdl file for test/production.
I want to make my ADF Application portable cross the 2 environments.
An environment variable can indicate in which environment the ADF application run.
According to this variable, application choose which wsdl/endpoint to call.
If I use "web service Data control" wizard, how can I achieve this?
If I use "webservice proxy" wizard, how can I achieve this?
Thanks!!!!!!Hi,
I have a model project with ws proxy client and on this proxy I added an adf ws connection called CustomerExperience
then I can do this.
// a test to try to overrule the adf ws connection from EM
Context ctx = null;
try {
ctx = ADFContext.getCurrent().getConnectionsContext();
WebServiceConnection wsc = (WebServiceConnection) ctx.lookup("CustomerExperience");
CustomerExperience customerExperience = wsc.getJaxWSPort(CustomerExperience.class);
} catch (NamingException e) {
LOGGER.severe("got web service loading fault: "+ e.getMessage());
throw new JboException( messages.getString("NOM-999"),
"NOM-999",
null );
I exported this to an adf jar and added this to a webapp.
On runtime the ws connection is not dectected by the webapp so need to copy this ws conn to the connections of the webapp. This works
but can I change it from wlst instead of EM , is this possible?
I don't see the WS connection in wlst (oracle common) adf_listURLConnection('CE_Portal')
thanks -
How to consume webservices i.e WSDL file in Webdynpro ABAP.
Hi experts,
I have WSDL file in my local system, configured using SOAMANAGER ,a proxy class is generated,when i test it prompts for username and password after entering the required data it is executing fine.
I called the the PROXY NAME in my WD component using service call , a method is generated . But when i pass the values in importing parameter getting an error "Null reference object".
I think this error is for Authorization ??
Please help me..
Thanks
AisuryaHi,
instead of service call, try calling the proxy class method by explicitly creating object and then passing parameters etc.
Define context, attributes and then pass those to proxy method.
Thanks,
Chandra -
Friends,
I am new in the world of SoapUI.
My client is using SoapUI platform for creating IB requests. Can anyone tell me how and from where i should provide them WSDL files.
And what credentials, I should provide for invoking this web service?
any supporting doc would be added advantage.
Rgds,
YogirajHi,
I am not getting the following services in my env.
also, do i need to activate each n every services like MIN_CART_COUNT_GET .
I searched in the path ( ib -setup-services )..plz suggest
PeopleSoft Mobile Inventory uses FSCM webservices to communicate. For the following services the service operations, handlers and routings needs be activated.
MIN_ADJUSTMENT
MIN_ALT_TYPES_GET
MIN_BIN_TRANSFER
MIN_CART_COUNT_GET
MIN_CART_COUNT_SAVE
MIN_COUNTING_EVENT_GET
MIN_COUNTING_EVENT_SET
MIN_COUNTING_EVENT_VALIDATE
MIN_EXPRESS_ISSUE
MIN_EXPRESS_ISSUE_VALIDATE
MIN_FUL_INQ_INV_HDR
MIN_ITEM_STK_INQ
MIN_LOOKUP_GENERIC_GET
MIN_MENU
MIN_NPRCPT_SAVE
MIN_OPTIONS
MIN_PROMPT_EDIT
MIN_RCPT_CNTR_GET
MIN_RCPT_CNTR_SAVE
MIN_RECV_DELIVERY Web
MIN_RECV_DELIVERY_SAVE
MIN_STCK_FEEDBK_GET
MIN_STCK_FEEDBK_SAVE -
Creating a Webservice from a WSDL File
Hello,
I am trying to create a web service from a wsdl supplied by a business partner.
The business partner will not have their web service up and running for a few
months, but we want to be able to unit test our work. We have the wsdl file from
the business partner, is there an easy way to reverse engineer this into a very
simple web service?
Thanks
LindaHi Linda,
You have to options here:
[Recommended] 1. Use WebLogic Workshop to generate a Web service that "simulates"
the one from the vendor you mentioned. See this link:
http://dev2dev.bea.com/products/wlworkshop/index.jsp
2. Use WebLogic Server to generate a Web service that "simulates" the one from
the vendor you mentioned. See this link:
http://edocs.bea.com/wls/docs81/webserv/anttasks.htm#1080773
Depending on the WSDL, you may or may not have a problem doing either of these.
If so, just post the issue on this news group, and someone should be able to help
you :-)
Regards,
Mike Wooten
"Linda Gilligan" <[email protected]> wrote:
>
Hello,
I am trying to create a web service from a wsdl supplied by a business
partner.
The business partner will not have their web service up and running for
a few
months, but we want to be able to unit test our work. We have the wsdl
file from
the business partner, is there an easy way to reverse engineer this into
a very
simple web service?
Thanks
Linda -
Calling WebService describe in WSDL file
Hi All,
Can any body tell me how to call a webservice if you are only know the WSDL file. Actually I am new to WebService. Some code examples may help me more on this but your guidance is also required.
Thanks in advance.
-aaHi,
I am also looking for the same..If you have got the answer by this time can you share it..
thanks.. -
ICI adaptor development--need spec and WSDL file
Hi, I'm trying to develop a adaptor between ICI and our contact center software. I have the V3.0.3 spec for ICI but couldn't find the WSDL file anywhere.
ThanksHello Beigen,
You can find the newest ICI document at:
SAP CRM Integrated Communication Interface (CA-ICI) [original link is broken] > Integrated Communication Interface
or directly
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b075ad90-0201-0010-6a99-fac1a256ac39
However, we only have the WSDL as part of version 3.01. The newer version is being worked on but no plan date yet.
With the ICI version that you can access above, you will be able to see more examples and detail how to implement the ICI adapter. The most efficient way would be to contact the SAP certification center to get more information. Hope this helps.
Best Regards,
Satit Nuchitsiripattara
SAP CRM Development -
Allocating a (local/in-house) IP address and DNS entry for a cabled Ethernet printer
I have an MI424WR Fios modem/wireless router. I have a laser printer connected to it using standard CAT-5 cabling.
I have tried several times to create a persistent enough IP address so that I can configure a Windows (Windows 7 and Windows 8) printer and printer port and get it to work over time. On ever other router I've had, I was able to configure a static IP address and configure a local DNS entry for it (which meant I could just configure printer ports looking for http://colorlaser - very easy to remember)
I think I have it working, then I leave it for a few days and the IP address evaporates and the driver stops working. The MI424WR advanced menus are nearly indecipherable (compared to *every* other home router I've ever used) and I'm running out of curse words to use when trying to get this to work.
Any ideas?
Thanks
Flydog
(PS: I'm very impressed that your "Spell Check" refuses to recognize "Fios")I've solved this exact issue by configuring a static DHCP lease in the router for the printer. This way, I don't have to change any settings in the printer; which can be difficult depending on how the printer is configured.
Yes, I agree that the Actiontec router has a rather unfriendly interface. However, it is quite powerful once you figure out where everything is hidden.
Here's the process to setup a static DHCP lease for a printer (or any other device):
Make sure your printer is on and assigned an IP address.
Login to router
Click "My Network" in the top banner menu.
Click "Network Connections" in the left hand menu.
Click "Network (home/office)" in the Network Connections box.
Click "IP Address Distribution" in the Network (home/office) Properties box. Note it is hard to notice this is a link - click on the words.
Click on the "Connection List" button at the bottom of the IP Address Distribution Box.
Locate your printer in the list. The host-name may be something assigned by the router.
Click on the edit button in the Action column for the printer. The edit button is the center icon with a pencil on it.
Click the "Static Lease Type" checkbox.
Click Apply.
Click the edit button for the printer's DHCP entry AGAIN.
Now, you can set the IP address to any value within the router's DHCP range. You may also want to change the host name to something that make sense to you.
You can also try the "New Static Connection" at the bottom of the DHCP connection window, however I've not had much luck with it.
Good Luck!
If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
Maybe you are looking for
-
When I open Firefox I get a black screen; how do I get rid of it?
When I first click on Firefox my monitor shows an all black window for a home page. A small rotating circle shows up on the black window; the indicator that a web site is loading. After a few seconds the circle goes away and for a flash the screen sh
-
My Firefox has spontaneously (apparently) decided not to show the task bar at the bottom of the screen (the margin is there, but it is blank), and some menu bars have been messed up. Perhaps the most annoying aspect of these changes is the fact that
-
Hi all, Anyone knows where can I find .msi file for Lync 2013 basic client? Microsoft website only have .exe which doesn't work with GPO software deployment. Thanks
-
Who do I stop the freezing hang-up or crashing,it happens daily while playing in FB.
In the last few weeks firefox keeps freezing, hanging up or crashing on me mostly while playing on FB. It will not let me close the page or get out of firefox. After I get it to close & I try to restart it ,it can take anywhere from 2-10 min. before
-
Hi, I have done a kernel upgrade. After that i could not login to JSPM the following is the error message <!LOGHEADER[START]/> <!HELP[Manual modification of the header may cause parsing problem!]/> <!LOGGINGVERSION[1.5.3.7185 - 630]/> <!NAME[F:\usr\s