Web services for foms 10g on the forms server.
Hi,
I have created the sample form in 10g (windows based) where it calls the web service to get the currency exchange rate (http://www.oracle.com/technology/obe/obe_as_10g/deploy/callws_fromforms/forms_webservice.htm).
I have now ftp'd the form into my forms server in unix and compiled it using compile.sh. Now my question is, where to add the jar files in the unix forms server. Since my archive.jar and other jar files are in my windows explorer directory, do I need to ftp all that into the forms server? If yes, what exactly do I need to put in the server.
Once I put all the files in the forms server, where do I need to set the paths.
Please advise. Urgent.
Thanks.
I don't know why you need to place them into the CLASSPATH of the target machine? For deployment of my forms from a linux iAS EE installation, all I do is to place the related (and custom) jar files to the iAS BI (business intelligence components)/forms/java directory and then list the jar files properly in the iAS BI/forms/server/formsweb.cfg file's application related section. The jar files then downloaded to the client when they access to the form (via Sun JRE plugin on linux clients or Jinitiator on windows clients). I know I had to place those jar files in CLASSPATH for iDS (forms development) but not for the deployment.
I hope this proves useful
Similar Messages
-
Web Service Tester works perfectly but the Web service is not.
I have a web service developed in EDQ that works as expected when I check using Web Service tester.
However when the upstream server sends the request to this web service, the response it gets is not as expected. "
This difference is only for a particular rule.(if Street Address Line 1 is 'Holiday', then the Customer Status should become 'C')
All the other rules are working s expected.
What can this difference be due to?
Thanks and Regards.
RaviThe only logical explanation is that the client sending the request is sending different data. Perhaps it may be something subtle such as trailing whitespace (with the process you have constructed not coping with this)?
Mike -
Can't enable web services for groups (wiki) in WGM
I'm having trouble creating a wiki on my server. More specifically, in WGM, I cannot enable web services for a group. The pull-down menu is accessible, but the only option is "(None)."
I have users and groups set up in OD (they are not local).
I have a working default web page.
I have web services enabled in Server Admin.
I can create and access user blogs.
My user and group folders are on a raid drive instead of the main drive - I'm wondering at this point if there's a problem with a folder name or permissions. WGM just doesn't seem to recognize that there's a site on my server.OK - wikid is failing to start.
2/5/09 1:36:17 PM com.apple.wikid[37723] Removing stale pidfile /var/run/wikid.pid
2/5/09 1:36:17 PM com.apple.launchd[1] (com.apple.wikid[37723]) Exited with exit code: 1
2/5/09 1:36:17 PM com.apple.launchd[1] (com.apple.wikid) Throttling respawn: Will start in 9 seconds
From the wikid error log:
2009-02-05 13:36:17-0600 [-] Log opened.
2009-02-05 13:36:17-0600 [-] twistd 2.5.0 (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python 2.5.1) starting up
2009-02-05 13:36:17-0600 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2009-02-05 13:36:17-0600 [-] twisted.web.server.Site starting on 8086
2009-02-05 13:36:17-0600 [-] Starting factory <twisted.web.server.Site instance at 0x2eb19e0>
2009-02-05 13:36:17-0600 [-] twisted.web2.channel.http.HTTPFactory starting on 8087
2009-02-05 13:36:17-0600 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x2eb1648>
2009-02-05 13:36:17-0600 [-] set uid/gid 94/94
2009-02-05 13:36:17-0600 [-] Traceback (most recent call last):
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/bin/twistd", line 21, in <module>
2009-02-05 13:36:17-0600 [-] run()
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
2009-02-05 13:36:17-0600 [-] app.run(runApp, ServerOptions)
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 379, in run
2009-02-05 13:36:17-0600 [-] runApp(config)
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
2009-02-05 13:36:17-0600 [-] _SomeApplicationRunner(config).run()
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 158, in run
2009-02-05 13:36:17-0600 [-] self.postApplication()
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 213, in postApplication
2009-02-05 13:36:17-0600 [-] startApplication(self.config, self.application)
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/scripts/twistdunix.py", line 183, in startApplication
2009-02-05 13:36:17-0600 [-] app.startApplication(application, not config['no_save'])
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 400, in startApplication
2009-02-05 13:36:17-0600 [-] service.IService(application).startService()
2009-02-05 13:36:17-0600 [-] File "/usr/share/caldavd/lib/python/twisted/application/service.py", line 233, in startService
2009-02-05 13:36:17-0600 [-] service.startService()
2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/service.py", line 62, in startService
2009-02-05 13:36:17-0600 [-] SettingsManager.globalSettings.rebuildIndex())
2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/SearchManager.py", line 424, in buildAllIndexes
2009-02-05 13:36:17-0600 [-] buildSearchIndex(aPath, doRebuild)
2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/SearchManager.py", line 406, in buildSearchIndex
2009-02-05 13:36:17-0600 [-] GroupSqliteIndex.buildSearchIndex(whichPath, forceRebuild)
2009-02-05 13:36:17-0600 [-] File "/usr/share/wikid/lib/python/apple_utilities/GroupSqliteIndex.py", line 551, in buildSearchIndex
2009-02-05 13:36:17-0600 [-] con = sqlite.connect(indexDBPath, isolation_level=None)
2009-02-05 13:36:17-0600 [-] sqlite3.OperationalError: unable to open database file
I would like to fix this without reinstalling. If there's a way to restore this specific database file or any part of the wiki, I would prefer to do that. Does anyone have an idea what files I should check/restore? -
Create a Web Service for Exchange with form based authentication ?
I want to create a Web Service in Apex that can create appointments in my exchange calendar. Exchange is offering web services for that.
When i try to create the web service reference in Apex i provide the URL and my Exchange login, but it is failing.
The exchange guys told me, that there is a ISA Server running where i need to authenticate through a form.
Does anyone know, how i can implement a webservice in Apex, when the access to the wsdl url needs login through a form ?
Or : what other types of authentication does Apex know ? What possibilities do i have ?
Thanks for answers.
BerndHi
Presume you've already found this information, but in case not ....
Exchange 2007 provides out of the box web services, see
http://msdn.microsoft.com/en-us/library/bb408417.aspx
As a disclaimer - neither myself of the team I work with have tried to use these web services within APEX.
Regards
Chris -
How to enable web services for the HP envy 4500
I am settin up my new HP ENVY 4500, have the printer working to my wireless rounter but am unable to connect to web services so I can update the printer. How do I do this?
Hi,
Have you activated it yet ? Looks like the setup is not right or missing, it's not connected to the internet. Please use the following tool to run the setup:
http://ftp.hp.com/pub/softlib/software12/COL50403/mp-122330-1/hppiw.exe
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
After i installed updates for my mac mini server, the web services for the server app wont start, it gives an error massage: "Error Reading Settings"
The system logs reads:
Mar 29 22:06:25 server servermgrd[82]: servermgr_web: Error Domain=XSServerFoundationErrorDomain Code=4 "Failed to read settings: Exception:
undefined method `downcase' for nil:NilClass
." UserInfo=0x7fc547901080 {NSLocalizedDescription=Failed to read settings: Exception:
undefined method `downcase' for nil:NilClassTo check the local network for some of the common configuration problems, launch Terminal.app and issue the following diagnostic command:
sudo changeip -checkhostname
That'll report some local configuration information and then either no errors detected and no changes required, or it'll point to whatever configuration errors or issues it might detect. That doesn't catch everything, but it catches the common errors.
FWIW, 192.168.0.0/24 and 192.168.1.0/24 are poor choices for the local network, as VPNs are based on IP routing and IP routing gets tangled when the same subnet is used on both ends of the VPN. 192.168.0.0/24 and 192.168.1.0/24 are near ubiquitous in home networks and coffee shops. -
How to move data connections with SOAP web service in different environments in InfoPath Forms 2010
Hello,
I've an InfoPath Form where I've around 10 SOAP web service data connections. They are calling a custom web service for a custom business process. The web service URL has a query string parameter which identifies whether it's a Test web service or the Production
one. The web service URL looks like this:
http://server/webservice/wsdl?targetURI=testSPRead (for the Test environment)
http://server/webservice/wsdl?targetURI=ProdSPRead (for the Production environment)
When I develop the form in Dev environment, I use the Test web service URL and save the data connection as UDCX files in the data connection library. After completing the development, when I deploy this Form in Production, I update the URL in the UDCX
file in the Production data connection library, but when I run the Form in Production, it throws error 'Error occurred in calling the web service'. After doing more research, when I extracted the XSN file and opened Manifest.xsf file in Notepad, I found the
references of 'testSPRead' parameter.
So, in the UDCX file the web service URL is '/targetURI=ProdSPRead' but in the Manifest.xsf file, there is a reference of Test web service parameter which is 'testSPRead' and that's why it's throwing error.
For testing purpose, I updated the Manifest.xsf file and replaced all the occurrences of 'testSPRead' to 'ProdSPRead' and also updated all the relevant files of the data connections (like XML, XSF etc.) and saved the Manifest.xsf as Form.xsn and deployed
in Prod and it worked.
The question is - is this the right way of doing it? There should be a simple method in such cases where web service has conditional parameter to identify the Test and Production web service.
Does somebody know what is the right way of doing it? I also thought of adding 'double' data connections - one set of Test and another set of Production and call them by identifying the current SharePointServerRootURL, but that's a lot of work. I've 10 web
service data connections in my Form and in that case I'll be having 20 data connections and setting their parameters in different Rules is too much work.
Please advise. It's very important for me!
Thanks in advance.
AshishThanks for your response Hemendra!
I hope Microsoft improves this thing in subsequent patches of InfoPath 2010 or InfoPath 2013 because I don't think this is a very special requirement. This is failing the purpose of having UDCX files for data connections. Why the WSDL's parameter value
is being written in the Manifest.xsf and other XSF and XML files. InfoPath should always refer the URL and parameters from the UDCX files.
--Ashish -
Using web service to update rows on InfoPath form
I managed to get a proof of concept working where I can read data from a web service to populate a table on my InfoPath form. I have found information about how to use a web service to "submit" data from the InfoPath form. But what if I want to
update an existing record from the read that I displayed on the InfoPath form?
I have some simple methods in my web service for "read employees", "insert employee", and "update employee". Nothing really fancy. I think I can manage to tell InfoPath to use "insert employee" for the submit command,
but I'm not entirely sure how it knows exactly what to submit. I have no idea how to tell InfoPath to use the "update employee" method if a user edits a record, nor, what button to push to do that.
I have a feeling that "submit" is supposed to cover both "insert" and "update" but I can't find anything to confirm that. If that is true, I am not sure how to handle responses from multiple calls if the user tries to update
or add multiple rows at a time.
If "submit" does handle both "insert" and "update" then is best practice to make the web method intelligent enough to tell the difference?Given that IP has been killed off by Microsoft, and that you are still in the dev process, I might not recommend its use. Consider BCS instead.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs
Looks interesting but it appears to be not an option on our server. The business data connectivity metadata store is offline. -
Configuring Web Services for Oracle XML DB
Hi all...
I think I need some help one this subject....
We have a 10G Release 2 Oracle single instance ( not RAC) install on a Linux Redhat v5.3 64 bit server. Are developers are user Visual Studio .Net and wnat to send xml files to a web service so that the xml file (containing data) can call a PL/SQL package (to be written) which will take the data out of the xml input file and insert rows into a prefined table within the instance. Now they have browsed the web and have come upon the following links...
http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm
http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb22pro.htm#i1026724
Currently, within the database I looked at the schema XDB and have unlocked the account and connected as the user XDB. There are some 680 objects in the following groups...
SQL> select object_type, count(*) from dba_objects where owner='XDB' group by object_type;
OBJECT_TYPE COUNT(*)
SEQUENCE 2
PROCEDURE 5
OPERATOR 8
LOB 334
LIBRARY 12
PACKAGE 20
PACKAGE BODY 17
XML SCHEMA 25
TYPE BODY 5
TRIGGER 12
TABLE 36
INDEX 51
FUNCTION 5
INDEXTYPE 2
VIEW 2
TYPE 144
16 rows selected.
Now in the links above it mentions that the xdbconfig.xml needs to be altered etc. However, I have searched the entire $ORACLE_HOME and there is no file definition of that description.
From a DBA prospective...what do I have to install on the Linux server? I assume from the Oracle Database 10g Companion Products I need to lay down Oracle HTTP Server in a new Oracle home as the first step...or not? Does the HTML DB need to be installed as well?
And for Configuring Web Services for Oracle XML DB...what else has to be installed? And from what product line?
Thanks in Advance....
Cheers
RoegrHi Marco...
First of all ...thanks for the reply.
I followed the link and the infor in that web page. However, there were a few things that did not work....
1. The http://localhost:8080/ as is brought up a web page withe the heading as
==========
ORACLE DATABASE 10g EXPRESS EDITION LICENSE AGREEMENT..
==========
The other browser test ftp://localhost:2100/
did not find any page?
2. Then I went onto running (as the sysdba) the pl/sql to enable the ORAWSV Entry Service
however it error out. So I did a describe on DBMS_XDB and the function deleteServlet does not appear
then I had a look and this link to > http://www.liberidu.com/blog/?p=471
was for 11G and the other link > http://docs.oracle.com/cd/B28359_01/appdev.111/b28369.pdf
was for 11G.
However, we are on 10G
=================
SQL> select * from V$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
==================
So is there must be other sql for 10G?
Cheers
Rog -
JDev: Generating Web Services for Streaming Attachments
Hi,
I am a newbie in this field. I am trying to generate web service code using JDev (10.1.3.3). I have an interface class and the implementation class. When I am trying to generate J2EE Web Service for the implementation class, I am getting the following error:
"The selected class doesn't contain any public method publishable in a web service".
Following is my code:
Interface:
package testing;
import oracle.webservices.attachments.Attachments;
public interface ImageStore extends java.rmi.Remote {
public void storeImage (String name, String desc, Attachments attachments) throws java.rmi.RemoteException;
Impl:
package testing;
import java.io.InputStream;
import javax.activation.DataHandler;
import oracle.webservices.attachments.Attachment;
import oracle.webservices.attachments.Attachments;
import oracle.webservices.attachments.IncomingAttachments;
public class ImageStoreImpl {
public static String storeImage(String name, String desc, Attachments attachments) throws Exception {
IncomingAttachments incomingAtts = attachments.getIncomingAttachments();
if (incomingAtts == null || !incomingAtts.hasNextAttachment())
throw new Exception("Expected request attachments");
Attachment imageAtt = incomingAtts.nextAttachment();
String id = imageAtt.getId();
DataHandler dataHandler = imageAtt.getDataHandler();
InputStream imageStream = dataHandler.getInputStream();
//-- Store image metadata and stream image bytes
if (incomingAtts.hasNextAttachment())
throw new Exception("Expected only one attachment");
return "success";
Can someone please let me know how can I generate the web service for this code using JDev.
Thanks,
JHi J,
Why is the concrete class not implementing the ImageStore interface? Anyways, I believe the ImageStoreImpl#storeImage method cannot be static if you want to generate a WS.
Furthermore, you should consider posting your question in the JDev 10G (JDeveloper and ADF forum as this one is for 11G.
Olivier -
How to create web service for a Java class in SAP NetWeaver Studio
hi all,
i am using SAP Netweaver Developer Studio.have created a normal java project and i want to create web service for one of the classes in this project. i used the Web Service Creation Wizard to create a web service for this class. but it says there's no methods available for VI. all my methods in this class are public, what should i do?Hi,
I guess there are other ways. But this is an easy way, if you find the right wizards.
Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
In this approach you will need 3 projects:
An enterprise application project (will contain EJB Module)
An EJB Module project (will contain session bean)
A Java project (contains code that implements the session bean methods)
In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
But it should be possible to do it in another way. It is up to you.
Good luck, Roelof -
Deserialization Error while invoking web service from JDeveloper 10g
When we tried to invoke a web service from JDeveloper version 10.1.3.4.0.4270, we got deserialization error.Here are the steps that we did to invoke the web service.
1. Using WSDL URL, downloaded WSDL file and associated XSD files into local machine using wsa.jar utility.
2. Using JDeveloper, created web service proxy project by referring the local WSDL file.Proxy got generated successfully.
3. Secured the proxy using "secure proxy" option.
4. Assigned all required values for parameters for web method.
5. When tried to invoke the web service, got deserialization error.
Exception in thread "main" deserialization error: java.lang.NumberFormatException
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:155)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ValuesetType_LiteralSerializer.doDeserialize(ValuesetType_LiteralSerializer.java:151)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ListOfVSType_LiteralSerializer.doDeserialize(ListOfVSType_LiteralSerializer.java:67)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.valuesetservice.runtime.GetVSRespType_LiteralSerializer.doDeserialize(GetVSRespType_LiteralSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._deserialize_getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:129)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._readFirstBodyElement(ValuesetServiceSoapHttp_Stub.java:115)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub.getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:79)
at pimut.proxy.ValuesetServiceSoapHttpPortClient.getValueSetDetails(ValuesetServiceSoapHttpPortClient.java:40)
at pimut.ValuesetServiceClient.get_object(ValuesetServiceClient.java:87)
at pimut.ValuesetServiceClient.main(ValuesetServiceClient.java:34)
CAUSE:
java.lang.NumberFormatException
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:155)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ValuesetType_LiteralSerializer.doDeserialize(ValuesetType_LiteralSerializer.java:151)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.apps.ego.extfwk.service.out.runtime.ListOfVSType_LiteralSerializer.doDeserialize(ListOfVSType_LiteralSerializer.java:67)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at com.oracle.xmlns.valuesetservice.runtime.GetVSRespType_LiteralSerializer.doDeserialize(GetVSRespType_LiteralSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._deserialize_getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:129)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub._readFirstBodyElement(ValuesetServiceSoapHttp_Stub.java:115)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:334)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at pimut.proxy.runtime.ValuesetServiceSoapHttp_Stub.getValueSetDetails(ValuesetServiceSoapHttp_Stub.java:79)
at pimut.proxy.ValuesetServiceSoapHttpPortClient.getValueSetDetails(ValuesetServiceSoapHttpPortClient.java:40)
at pimut.ValuesetServiceClient.get_object(ValuesetServiceClient.java:87)
at pimut.ValuesetServiceClient.main(ValuesetServiceClient.java:34)
Caused by: java.lang.NumberFormatException
at java.math.BigDecimal.<init>(BigDecimal.java:457)
at java.math.BigDecimal.<init>(BigDecimal.java:647)
at oracle.j2ee.ws.common.encoding.simpletype.XSDDecimalEncoder.stringToObject(XSDDecimalEncoder.java:51)
at oracle.j2ee.ws.common.encoding.literal.LiteralSimpleTypeSerializer.deserialize(LiteralSimpleTypeSerializer.java:142)
... 17 more
Process exited with exit code 1.
We think that the exact cause for the problem is as follows.
1. If we check the XSD file corresponds to response object, for one of the element, the type is decimal
<xsd:element minOccurs="0" name="ParentValueSetId" nillable="true" type="xsd:decimal"/>
2. In the SOAP response, this element is empty so during deserialization, the numer format exception occurred in LiteralSimpleTypeSerializer class.
Any help is greatly appreciated.Hi Suresh & Mukesh,
Suresh:
I started the service by going through the following path System Administrator > System Configuration > Service Configuration > Application > <SERVICE_NAME> in system configuration of portal
Mukesh: Here I don't have any proxy settings.
Can you please let me know where I'm going wrong.
Thanx,
Dheeram -
Test web service for a function module
Hello,
I have created web service for a functiona module. I can see the same service in SE80 in Enterprise Services.
How do I test this service?
I can see the URL in WSDL tab but when I try to execute it give me following error,
What has happened?
URL http://emhbssap15.domain.local:8027/sap/bc/srt/wsdl/sdef_service_name/wsdl11/ws_policy/document call was terminated because the corresponding service is not available.
Note
The termination occurred in system BDV with error code 403 and for the reason Forbidden.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:EMHBSSAP15_BDV_27-v:0-s:403-r:Forbidden
HTTP 403 - Forbidden
Your SAP Internet Communication Framework Team
The URL I am trying is
http://emhbssap15.domainname:8027/sap/bc/srt/wsdl/sdef_servicename/wsdl11/ws_policy/document?sap-client=400
Can anyone help me?
Regards,,,
Sunil Joyous
Edited by: Sunil Joyous on Dec 2, 2009 1:52 PMThanks Venu for your input.
Unfortunetly we do not have Java stack on our development system. You said we can test it by SOAP UI tool. Where do I see the WSDL file for the service?
I used WSDL from SE80 --> Service --> WSDL tab, but SOAP UI does not accept this format ?
What are the other ways I can test this web service? I think about SAP PI, importing RFC & creating web service or creating ABAP proxies... Which is the best way to go forward in case you do not have Java stck.
Regards,,,
Sunil Joyous -
Standard web services for Goods receipt and purchase order
Hi,
Can you please tell me the std web services for creating the Purchase order and Goods receipt?
Is there a link where i can get the information on this implementation?
Thanks
SriniHi,
Please reffer ES workplace.
[Order to Cash|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=9B0DDD8CCC484FA79EBBBA7F78B57DA7]
Thanks
Farooq -
Issue in creating web service for a ABAP Function Module
Hi,
now i'm learning how to create web service for a ABAP Function Module. I used the following steps.
1. select the Function Module, named "zws_test".
2. in the context menu, select "create->proxy object". so we enter into wizard.
3. in the wizard, press the radio button "Service Provider".
4. in the next page, press the radio button "Existing ABAP Objects(Inside Out)".
5. In the next page, Enter the "zws_test_prvider" as Service Definition and select "Function Module" as Endpoint Type.
6. in the next page, enter "zws_test" as Function Module and mark the "Mapping der Namen" button
7. in the next page,select "PRF_DT_IF_SEC_LOW" as Profile and mark "Deploy Service".
8. Save in the local package.
9. then it will pop up a window with title "WSDL Source". i selected "URL/HTTP Destination" and press "OK".
10.in the next page, i enter the URL as "http://hostname:portnumber/", and press "OK".
11. then it will pop up a window with title "Display logs". A record with error message "HTTP error(return code 404, message "Not found")" appears.
12. i press "ok" and a service provider with name "zws_test_prvider" appears in my local package.
13. i use "zws_test_prvider"'s URL to create a service consumer "ZCO_WS_TEST_CONSUMER" and logic portal "LP1".
14. But when i test my service consumer "ZCO_WS_TEST_CONSUMER", it will throw an exception "cx_ai_system_fault" with errortext "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/".
15. I use t-code SM59 to test connection and get the following info.
Status HTTP Response 200
Status Text OK
Duration Test Call 328 ms.
who can give me the reasons about item 11 and 14, and explain me how to create service provider and service consumer for a Function Module.
Thanks in advance
Johnneyhave you seen this weblog
/people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
Maybe you are looking for
-
Hi, I used to always be able to burn CDs on my computer with iTunes fine and now I keep getting error code 4450 right after the 1st song begins to burn. My computer is not even one year old yet! I tried reading other topics like this one but I could
-
Query Builder on VS2010 change my request
Hello, I use VS2010 with ODT 11.2.0.1.1 and I have strange behaviour with the "Query Builder"... When I enter this request: SELECT ARTICLE_PCH.AP_CODE ....ARTICLE_SAP.AS_USAGE_UNIQUE FROM ARTICLE_SAP, ARTICLE_PCH WHERE ARTICLE_SAP.AS_NUMERO = ARTICLE
-
X11 ERROR: Xlib: connection to ":0.0" refused by server
Hi all, I've problem with X11 on os x 10.6.2. Every time I move my macbook pro from office to home (and viceversa) X11 needs to be quit and restarted otherwise I get the following error: Xlib: connection to ".0" refused by server and X11 won't launch
-
whenever i use the process to untar the file of 10.0 and run firefox/firefox file it is not opening/started.
-
could not set security file for file 'C:\documents and settings\all users\application data\apple computer\itunes\SCinfo\'.Error1392 i can not gain permission to set this file off of read me only... tried SubinACL from microsoft as described here The