Web Service language
Hi
What is the Web Services language used by SCORCH? I've been trying to use a WSDL "connector" from a third party service management tool with the idea to start and stop runbooks required by workflow by using the SCORCH web service.
Andrew
Hi,
it's REST.
http://msdn.microsoft.com/en-us/library/hh921667.aspx
Regards,
Stefan
www.sc-orchestrator.eu ,
Blog sc-orchestrator.eu
Similar Messages
-
Hi guys,
We are testing a bunch of We Services with SOAPUI tool, and we are having the folllowing problem:
All descriptions depending on language are displayed in english in SOAPUI. Our client works in spansh language, so they are getting problems with the interfaces depending on these Web Services.
How can I configure SOAPUI to get the descriptions in spanish? Is there anywere, or do I have to make some settings in SAP?
Thank you very much in advance,
Best regards
Lucas
Moderator message: cross-post, locked.
Edited by: Thomas Zloch on Feb 16, 2011 11:45 AMPlease, do you have any suggestions?
I could not find any solution to this problem <removed by moderator>.
Regards,
Lucas
Edited by: Thomas Zloch on Feb 16, 2011 11:44 AM - same priority for all -
Language setting issue with Xcelsius 2008 - Web Service NW BI
French language is set during Xcelsius installation.
In Xcelsius, English is always set as the preference language.
With Web Service NW BI, I get text data returned in French.
English is also defined as default language in SAP BW BI .
I would like to get text data in English.
I don't get this situation when executing the same dashboard in an another PC with only english installation.
Can someone could explain to me how to solve this issue ?
Thanks in advance
MaiHi Sana,
You might be using Flex 3 sdk library files.
Just check in Properies of your Flex project -> Flex Build Path -> Library Path .
You might get the library files as Flex 3.*
If it is the case then change it to Flex 2.0.1 Hotfix 3.
now create a new project and compile your application and use the same swf.
Otherwise try to import any existing Flex 2 project folder with compiler flex 2 ver. then try the same swf in your xcelsius application.
Regards,
Vivek -
Hi all: Change language Code in CI based web services.
I am developing CI based soap web services in peoplesoft. i want response in different in languages. I need that language is selected at request time. mean need to change Language Code in CI based web services.
Can anybody help me?
thanksYou posted a duplicated thread here :
Hi all: Change language Code in CI based web services.
-- mod. action: locking this one --
Nicolas. -
Handling multi byte languages in Web Service
Hi,
I am calling a web service and its working fine with English language i.e web service is returning correct parameters with English.
But it's returning me Junk characters when i call web service with multi byte languages like Japanese, Russian etc.,
Generally while configuring Web Service or calling a web service using proxy - it asks for a user id/ Pwd but not a logon language (unlike while you login SAP it asks for Logon Language) so i am thinking since there is no option to enter log on language, its taking a default language i.e English so when i am passing japanese its returning me Junk Values.
Can any one please help me with this? How to handle multi byte webservice call? I am using ECC 5.0.
Thanks & Regards,
Pavan.I appreciate your thought but our webservice must be able to handle multiple languages not only Japanese. Users might call webservice in any language they prefer. If i change it my default to Japanese, i will have problem when users call webservice in Russian.
-
Change Web Service User Language
Hi ,
I need to change my service providers(web service) user (EHP5). After creating endpoint with no authentication using soamanager (which only have username and password option ), system don't let me change default login language in SICF . Before EHP5 I can change username , password and login language using SICF. Do you have any idea where I can change it ?
Thanks in advance.No ideas?
-
Language independent web service
Hi,
I have a question about web service...
Our Web application uses SAP web services to communicate to SAP R/3 function modules.
Currently I am creating one web service for one user langauge(English,Japanese). I mean web service is language dependent. I don't want to create web service for each user language.
I am using wsadmin transaction to create web services.
I want to create web service from the function module with out any specific language attached to it.
I should be able to pass any language(which user selects in the front end) and invoke corresponding web services? Will it be possible?
Appreciate your help or any lead on thisthis is explained in this weblog.
<a href="/people/thomas.jung3/blog/2005/05/09/abap-webservices-logon-language-processing">ABAP WebServices: Logon Language Processing</a>
Regards
Raja -
Set the Web Service output Language
Hi,
I have created (exposed) a web service based on a ABAP function module.
Among the output data there are some values which are correctly translated
in the login language (ITA or ENG) if I use the SAP GUI to test the function.
On the contrary, if I use the "Web Service Navigator" the same data are returned
in German Language. How can I change this behaviour ? How Can I do to return
these parameters in a choosen language (like ITA or ENG)?
Thanks in advance
LucaHi Luca,
I recently had a similar requirement and described how to do this in a short blog.
I realise this is probably too late to be of use to you, but it might help others in the future.
Kind regards,
Tim -
Foreign languages on english-developed web-services
Hello all,
Hello we running SAP Web AS 620 via SAP Enterprise SR-1 extension set 110.
We are in the process of importing the French language and supplementing it with English to our production client. What concerns come to mind around ensuring that our current web services are offered in both English and our new foreign language, French? We use a web services CPIC ID to call a lot of our SAP function modules from the web. If we pass the "FR" variable for the language field in the CPIC logon parameters, will results be returned in the foreign language? Any other thoughts?
I couldn't find very much documentation at SAP on this subject.
Thanks in advance,
]eff DuboisHello,
did you see:
Portal -> Portal Developer Guide -> Portal Runtime Technology -> Internationalization Portal Components and Text Localization
(http://help.sap.com/saphelp_nw04/helpdata/en/62/8b1d40bb37e569e10000000a155106/frameset.htm)
Greetings, Jordan -
Web Services API Sample w/ Filters
Does anyone know how to use a Filter in a doOracleSearch call using the Java proxies supplied for the Web Services API? I tried doing this but it appears there is a conflict with Servlet Filter class. When I used the complete path to the class, it compiles, but upon deployment and execution on OC4J I get a symbol not found error. Here is an excerpt of the problem code:
if( query != null && search_type.equals("advanced") )
String str_doc_type = request.getParameter("document_type");
int start = orderByDate ? 1 : startIndex;
int hits = orderByDate ? recencyHits : pageHitCount;
oracle.search.query.webservice.client.Filter[] myfilterArray = null;
oracle.search.query.webservice.client.Filter filterDocType = new oracle.search.query.webservice.client.Filter(112,"string","equals","4918");
myfilterArray[0] = filterDocType;
try
res = ctx.doOracleSearch(
query, // query
new Integer( start ), // start index
new Integer( hits ), // documents requested
Boolean.TRUE, // duplicates removed
Boolean.FALSE, // duplicates marked
groups, // data groups
locale.getLanguage(), // query language
null, // document language
Boolean.TRUE, // return count
null, // filter connector
myfilterArray, // filters
null // fetch attributes
catch( Exception e )
searchException = e;
}Hi,
I am trying to deploy this sample application. I received the following error:
[oracle@dev1 home]$ /home/oracle/oracle/product/10.1.8/ses1/jdk/jre/bin/java -ja
r /home/oracle/oracle/product/10.1.8/ses1/oc4j/j2ee/home/admin_client.jar deploy
er:oc4j:dev1.psa:5740 oc4jadmin oraidev1 -deploy -file /home/oracle/oracle/produ
ct/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/sample.ear -deploymentName ses
_query -bindAllWebApps http-web-site
08/05/20 11:20:29 Notification ==>Application Deployer for ses_query STARTS.
08/05/20 11:20:29 Notification ==>Copy the archive to /home/oracle/oracle/produc
t/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query.ear
08/05/20 11:20:29 Notification ==>Initialize /home/oracle/oracle/product/10.1.8/
ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query.ear begins...
08/05/20 11:20:29 Notification ==>Unpacking ses_query.ear
08/05/20 11:20:29 Notification ==>Error while unpacking ses_query.ear
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:92)
at oracle.oc4j.util.FileUtils.unjar(FileUtils.java:309)
at oracle.oc4j.util.FileUtils.autoUnpack(FileUtils.java:488)
at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArc
hive.java:234)
at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(Applicatio
nDeployer.java:412)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:187)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
08/05/20 11:20:29 Notification ==>Operation failed with error:
Unable to find/read file META-INF/application.xml in /home/oracle/oracle/product
/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query (META-INF/application.
xml)
Deploy error: Deploy error: Operation failed with error:
Unable to find/read file META-INF/application.xml in /home/oracle/oracle/product
/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query (META-INF/application.
xml)
Please help!!
Thanks!
Regards,
Deva -
Diff b/w Web service and window service
What is the difference between web service and window service, whether the both are same or not, Give some explain about that each one and give some examples also.
An XML Web service is a component that implements program
logic and provides functionality for diseparate
applications. These applications use standard protocols,
such as HTTP, XML, and SOAP, to access the functionality.
XML Web services use XML-based messaging to send and
receive data, which enables heterogeneous applications to
interoperate with each other. You can use XML Web services
to integrate applications that are written in different
programming languages and deployed on different platforms.
In addition, you can deploy XML Web services within an
intranet as well as on the Internet. While the Internet
brings users closer to organizations, XML Web services
allow organizations to integrate their applications.
A Windows service starts much before any user logs in to
the system (if it has been setup to start at boot up
process). A Windows service can also be setup in such a way
that it requires a user to start it manually ? the ultimate
customization!
Windows services run as background processes. These
applications do not have a user interface, which makes them
ideal for tasks that do not require any user interaction.
You can install a Windows service on any server or computer
that is running Windows 2000, Windows XP, or Windows NT.
You can also specify a Windows service to run in the
security context of a specific user account that is
different from the logged on user account or the default
computer account. For example, you can create a Windows
service to monitor performance counter data and react to
threshold values in a database. -
Hi Everyone,
I am getting an error message: An error occurred while trying to connect to a web service, when my InfoPath form tries to load. The last few days, it only spits this error message in the morning and around 12pm-1pm it resolves itself and the form loads
fine the rest of the day, oddly enough.
A few things about my form:
1). It is web enabled
2). The form submits to a form library on the SP server
3). I use the UserProfileService data connection in the form to auto-populate a few fields
4). I use a udcx file with correct language stored in the root of the site collection in the data connection library
5). The form has been working fine until a few days ago
I noticed while in Central Administration, that the User Profile Service Synchronization is Stopped. Not sure if this is causing some or all of the problem. If I need to start it I will need to contact my farm administrator to do this, since I do not
have the service account information.
Also, I looked thru the log files on the SharePoint server and found the following by searching for the Correlation ID shown when the error comes up, I won't put in everything just the important messages.
Schema file was already loaded: BuiltInActiveXControls.xsd
FormServer Partial Trust - Proxy operation invoked in the SHIM process.
FormServer Partial Trust - Invoking proxy operation for Web service adapter failed with exception Operation is not valid due to the current state of the object. for Url=https://<SP URL>/_vti_bin/UserProfileService.asmx
Data adapter failed during OnLoad: The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
The following query failed: GetUserProfileByName (User: , Form Name: Expense Report, IP: , Connection Target: <SP URL>/Data Connections/GetUserProfileByName.udcx, Request: , Form ID: urn:schemas-microsoft-com:office:infopath:Expense-Report:-myXSD-2014-04-11T21-06-32
Type: DataAdapterException, Exception Message: The custom code in the form cannot be run. This functionality may be deactivated on the server.Hi B.,
You are on the right track. I recommend that you first get the User Profile Synchronization Service started because that itself could be the root cause of the issue.
If that doesn't fix it then focus your attention on the GetUserprofileByName data connection. I always use my secure store ID for this connection. I add the ID by editing the udcx file and then publishing it again.
Hope this helps.
Daniel Christian (MCTS) -
Hi,
I'm currently trying to consume in VC a CAF Application Service exposed as a Web Service. I'm able to retrieve what I want but I have a problem with dates format.
The web service returns dates in the following format: YYYY-MM-DDTHH:NN:SS
When I test my data service in VC it works fine. When I run my iview, VC swap the month and the day and compute the new date...
It's not just a problem of formatting with DVAL and DSTR because the date is already computed.
Example:
Date returned from web service: 2007-09-21T00:00:01
Date returned from test data service in VC: 21.09.2007
Date returned at runtime: 09.09.2008
VC understand 21.09.2007 not like DD.MM.YYYY but like MM.DD.YYYY so 21.09.2007 becomes 09.09.2008
I also tried to check on the server Regional and Language option but it doesn't come from there.
Have you ever faced this problem?
ThxHi,
It is a Web Service generated by NWDS (to expose my CAF Application Service)and deployed on the server.
The url si like http://<hostname>:<port>/mywebservice/Config1?wsdl
The Web Service runs correctly.
When I call a method of my web service to retrieve a list of objects (CAF Entity Services) and their attributes, it returns attributes of type String and Dates of type 'java.util.GregorianCalendar'.
It seems that VC doesn't correctly understand this type of Date at runtime
Regards,
Thomas -
Logon Error when Using soap Web Service
Hi,
I'm trying to determine why I'm getting the following error message when I submit a Web Service from our Custom Application to SAP. This error is occurring in SAP ECC 6.0 SPS16 (Quality Client) and we do not have the JAVA Stack installed. Our currently Production Installation is SAP ECC 6.0 SPS4 it works with out issues, however the Upgrade to SPS16 has produced alot of differences in web services.
Also note that this service has been tested succesfully using soapUI Version 2.51. and Version 3.5.1 without producing this error.
The user that is being utilized in all tests is an Internet User only. I would also like to know if there is away to trace Internet User authorizatiion issues.
Any help that can be provide is highly appreciated.
Error Message:
Logon failed
What has happened?
Call of URL http://bagqs1p1.rac.ray.com:1080/sap/bc/srt/rfc/sap/zwd_material_create/200/zwd_material_create/zwd_material_create
terminated due to error in logon data.
Note
Logon performed in system AGQ.
Logon performed for client 200, user , and language EN.
What can I do?
Check that you have entered the client, user, and password correctly.
If you do not yet have a user ID, contact your system administrator.
Error Code: ICF-LE-http-c:200-l:E-T:1-C:5-U:84-P:54-L:5
HTTP 401 - Unauthorized
Your SAP Internet Communication Framework Team
Sincerely,
Cris AndersonAll of the web services were created in SOAManager if that is what you mean by setting them up in SAP PI.
I'm guessing that the HTTP Code 200: OK means they are working correctly.
- <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header />
- <soap-env:Body>
- <soap-env:Fault>
<faultcode>soap-env:Server</faultcode>
<faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</faultstring>
- <detail>
- <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
<Host>undefined</Host>
<Component>COREMSG</Component>
- <ChainedException>
<Exception_Name>CX_SOAP_CORE</Exception_Name>
<Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</Exception_Text>
</ChainedException>
</ns:SystemFault>
- <ns:SystemFault xmlns:ns="http://www.sap.com/webas/711/soap/runtime/abap/fault/system/">
<Host>undefined</Host>
<Component>COREMSG</Component>
- <ChainedException asx:root="asx:abap" version="1.0" xmlns:asx="http://www.sap.com/abapxml">
- <asx:values>
<EXCEPTION href="#o176" />
</asx:values>
- <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
- <cls:CX_SOAP_CORE id="o176">
- <CX_ROOT>
<TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>
<PREVIOUS />
<KERNEL_ERRID />
- <INTERNAL_SOURCE_POS>
<PROGID>98</PROGID>
<CONTID>1113</CONTID>
</INTERNAL_SOURCE_POS>
</CX_ROOT>
<CX_NO_CHECK />
- <CX_SOAP_CORE>
- <E_LOCATION>
<CLASS>CL_SOAP_HTTP_TPBND_ROOT</CLASS>
<METHOD>get_http_headers</METHOD>
<ID>3</ID>
</E_LOCATION>
<E_TEXT>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</E_TEXT>
<E_ID>1032</E_ID>
<E_FAULT_LOCATION>1</E_FAULT_LOCATION>
<E_AREA>COREMSG</E_AREA>
<E_HOST>0</E_HOST>
<E_PROCESS_CONTROL />
</CX_SOAP_CORE>
</cls:CX_SOAP_CORE>
</asx:heap>
</ChainedException>
</ns:SystemFault>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope> -
How do I create a "document-centric" Web Service?
By document-centric I'm talking about receiving a SOAP message on the server-side, where the initial parsing and security processing (this aspect is very important) is performed but then allowing the developer to access the delivered "payload", i.e. the XML, and perform whatever mapping/processing that is required without automatically mapping to the "standard" auto-generated Java objects.
It is important that the client receives the "full" complex WSDL and can therefore generate their proxy classes with whatever tool (or language) that is appropriate.
On the server side we do not want to create hundreds (if not thousands) of Java Bean clases as we already have the legacy code to map XML to Java. The idea is that JAX-RPC only instantiates the SOAPElements that represent the "raw" message, or, if possible, doesn't instantiate any objects whatsoever.
I've spent many days now trying to find a single well-worked example for this type of Web Service without success - many, many references of the style "..and you can then create a document style web service.." but without the all important "how".
From what I've read a custom type-mapping and/or serializer/deserializer could be the answer but again no good, solid examples are forthcoming.
Another alternative seems to be to create the server side stub-classes using a "dummy" WSDL with the elements set to "anyType" but then distribute the "genuine" WSDL to the clients - we've got a simple example of the kind working but I don't like the idea of "tricking" the system in this way.
I'm working with WASD 5.1, which in theory conforms with JAX-RPC so any ideas offered here should also apply in that environment.
Has ANYONE successfully created a service of this type?
Any help with this issue would be very much appreciated and rewarded (with Duke Dollars of course).
Chris.Chris,
I too noticed that most vendors take the RPC centric approach. Its because most of the industry examples of how WSs were used were simple enough to implement using RPC and anything more (document literal) would add to the complexity of implementation. This is something that is feared by many developers, especialy the .Net crowd who seem to want everything done through a wizard menu interface and don't care about other WS implementations at all.
This is sort of changing. J2EE 1.4 is WS-I compliant, so when you compile server side ties from WSDL you can specify a document literal option and WS-I compliance. This gives you access to the SOAPElement objects. There's still issues with going between W3C DOM and SOAP elements but that's just API inconvenience, not a show stopper. As the inudustry develops more complex WSs we will see the vendors change their tools to better support this...
Anyway, some more help...
I use the the following wscompile options to build from WSDL for document literal WSs.
wscompile.bat -d . -nd . -s . -f:documentliteral -f:wsi -keep -model model.gz -import config.xml
wscompile.bat -d . -nd . -s . -f:documentliteral -f:wsi -keep -model model.gz -gen:server config.xml
My "wrapper" elements look like this...
<xs:element name="AComplexXMLResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="myNS:MYComplexXMLType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
If I do this:
<xs:element name="ASimpleXMLResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="AName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
I still get the JAXRPC language bindings to a string, but in my case I don't really care. This may well be different for you.
What I do to manage these elements is to split up the WSDL, WS wrapper element definitions and actual data XML schema definitions into separate documents. This means I have a WSDL which IMPORTS my message schema (this is where I define wrappers for in and out XML) which INCLUDES the actual DATA XML schema that I have.
The WSDL import looks like this:
<types>
<xs:schema>
<xs:import namespace="http://schemaURI" schemaLocation="./relativePath/WrapperElementSchema.xsd"/>
</xs:schema>
</types>
The wrapper element schema has:
<xs:include schemaLocation="./ActualDataSchema.xsd"/>
This way I can easily replace the wrapper documents with just anyType references if something doesn want to play nice. The data schema file and the WSDL stay the same. This minimises the impact on what you have to change in your distribution. This is important as the WSDL is often generated on the fly by your WS environment and so can not be easily changed once you build your WSs, but the schema files it references are easily changed without affecting your code.
Another reason for the wrapper elements was a JWSDP 1.2 issue (I don't know if this has been fixed in 1.3), where if you had the same method parameter signature in a web service (the parameters it took were the same XML types, for instance if you have an add and update methods for the same document input) JWSDP would get confused at runtime. It did not take account of the SOAP action that came along with the request to determine which operation to call. It just took the incoming XML, saw that it was of a certain type and it passed it to the first operation that took this element, which is VERY wrong. By using the wrapper elements, I could give all my input and output elements for each method different names (I used a naming stragegy that appended a 'request' or 'response' string to the method name to form a method parameter element name. This is a pain in the ass, but works and does wonders for interoperability with other WS vendors. Like I said before, I've got this working with JWSDP, BEA and .Net servers and clients.
Hope this helps,
If you think there is a real need for a public HOWTO on this, I could write one with a full step by step guideline that shows where I broke my legs getting this stuff to work. But this would eat into my sleep time :-/ TO JUDGE INTEREST I call on all people interested in a tutorial to respond to this thread (esp people involved with the JWSDP WS tutorial documentation). If I get 5 or more different people responding I will loose some sleep for the good of this community. Otherwise, I will just try to help you when I have time to read the forums.
Kuba
Maybe you are looking for
-
In want to copy a portion of a URL from the "View" --> "Page Source" window and paste it in my favorite text editor. This used to be a simple action with my mouse (mark portion with left mouse button, dump copy into editor window with middle mouse bu
-
System really messed up with all folders locked after installing Mavericks
Wow, I love Mac, but this last OS install of Mavericks has sent me for a loop, not only did it erase all of my files except for applications, it turned my computer into a fresh off the shelf Mac and I lost most everything in settings in all applicati
-
Hi all! I receive an XML string that contains a CDATASection with a complete XML-Structure inside. What do I have to do to preserve that CDATASection in the XML tree I build out of it to avoid output-escaping on other parsing actions? At the moment t
-
10.8.3.update caused problem
When I updated my almost brand new iMac to 10.8.3, this problem started immediately after: when i boot the computer, it won't even let me login due to the fact that something in the computer is entering data into my login field nonsop and causing the
-
I've just broken the battery cover on my Zen Nano Plus and customer support say they haven't got any replacements available. They suggested I did a web search to try and find one!?Does anyone know of an source for the battery covers? I also wondered