MS Word Web Service Interface: bad format of date and currency fields
Hi,
I am using MS Word Web Service interface to create contract documents. However, my date and currency fields show in a strange format. Date is in"YYYY-MM-DD" format, while currencies always have "." as decimal separator (probably technical values). My user settings are "DD.MM.YYYY" for dates and "n.nnn,dd" for decimal numbers.
My workaround is to create a Z structure for WS interface with char fields and then do conversion through CRM_WST_RT_BADI->OUTBOUND_PROCESSING method. This works, but requires a lot of custom development.
Is there a way to "tell" the interface to use correct formats in MS Word without doing it all manually through custom fields?
Thanks!
KR,
Igor
Oh, indeed!
We might be closer than you think - I live close to Croatian-Slovenian border so we might pop out for a drink! But we can discuss this out of forum...
Now work again:
Is there any documentation on possible formatting keywords? I suppose it's possible to set up decimal places, custom date formats etc.
Cheers,
Igor
Similar Messages
-
Business Objects Web Service Interface for Scheduling (without Java SDK)
Task:
> use BO web service interface to schedule report generation and fetch job with generated PDF object without having to use Java (Webservice) SDK
Detailed requirements:
> get session ID : ok, session WSDL, <BO server alias>/dswsbobje/services/Session , method "session"
> schedule a specific report : in general clear, via <BO server alias>/dswsbobje/services/BIPlatform, method "schedule"
> set report format to "PDF": is that possible ? With which WSDL and method ?
> schedule right now and only once: is that possible ? With which WSDL and method ?
> can I provide a parameter value for that report ?
> does schedule response contain jobID for later fetching of completed job ?
> how to fetch scheduled job for check of completion ?
> how to check status of job concerning completion ?
> how to fetch created PDF from completed job ?
With focus on my research (have checked and tested with soapUI), WSDL interface of BO seems not to be sufficient to fullfil the upper requirements, so I have to use BO Java SDK, which is powerful enough. Am I right ? Can you provide insights how to fullfil the requirements with the web service interface ? Would make whole implementation simpler (invocation from Tibco, ESB implementation).The error you're hitting is presumably JBO-25030.
Look to the "merge" command. In the parent you specify just the key of the preexisting parent record, and then in the child you specify your new child record.
CM. -
A problem with initiating a BPEL process through its web service interface
hi,
i am trying to initiate the helloWorld BPEL process through its web service interface. i use a proxy class that i wrote and i use it from J#.net.
this is the relevant code part:
hello.HelloWorldBinding wsProxy = new hello.HelloWorldBinding();
wsProxy.initiate("Hello");
and the server shows the following message:
ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.
engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Cannot
decode properties.
The process domain was unable to decode the properties for message guid 10, whic
h are stored in column String index out of range: 3094; the exception reported i
s: {2}.
sql statement: SELECT conv_id, message_guid, domain_ref, process_id, revision_ta
g, operation_name, receive_date, state, priority, properties FROM invoke_message
WHERE message_guid = ?
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
hHelper.java:152)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseSche
duledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java
:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDriven
BeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome
.java:755)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:
928)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
<2006-05-10 21:21:15,171> <ERROR> <default.collaxa.cube.engine.data> <BaseDeliveryPersistenceAdaptor::loadInvokeMetaDa
java.lang.StringIndexOutOfBoundsException: String index out of range: 3094
at java.lang.String.substring(String.java:1441)
at com.collaxa.common.util.LVDecoder.decodeElement(LVDecoder.java:152)
at com.collaxa.common.util.LVDecoder.decodeToMap(LVDecoder.java:45)
at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvokeMetaData(BaseDeliveryPersi
r.java:2186)
at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadInvoke(BaseDeliveryPersistence
:2112)
at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvoke(BaseDeliveryPersistenceAd
079)
at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadInvoke(DeliveryPersistenceMgr.java:357)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:465)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBe
java:1796)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHa
7)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
what is the problem? how come i can't initiate the process?
i will be happy if i could get help..
thanks in advancecan you initate the process from the bpel console successfully?
if so can you use obtunnel from the installation to trace the soap message (that goes over the wire), my best guess in this case is a problem with a header (holding the wsa information) ..
after starting obtunnel it will liesten to a custom port, and will forward the request to the engine, so you need to point your client to this new port..
hth clemens -
EJB Web Service Interface parameters name changed
Hi, all,
I create a simple Session EJB 3.0 with Web Service interface in Jdeveloper 10.1.3.4. and I deployed it into the embedded OC4J server.
The question is I found that the web service operator parameters is changed to "String_1" (actually the parameter in EJB method is String ss). And I found the WSDL file is also String_1.
How to create the real parameter name in WSDL from EJB Web Service interface? Any help on that?
Best Regards,
Billif you do a lookup for the name "java:comp/env/ejb/queryProc" in the servlet, the deployment descriptor of your web-archive must contain an ejb-reference with the ref-name 'ejb/queryProc'.
-
Hi All,
I need to develop a monitoring application for SAP system which will monitor both Host systems and instances.
For this I need to collect Host data as well as instance data. In the below links I could find the SAP netweaver
monitoring agents
Monitoring Hosts with SAPHostControl and saphostexec - Infrastructure of the SAP NetWeaver Management Agents - SAP Libra…
Central Monitoring with SAP NetWeaver Management Agents - Infrastructure of the SAP NetWeaver Management Agents - SAP Li…
Administration/Monitoring of SAP Components with sapstartsrv - Infrastructure of the SAP NetWeaver Management Agents - S…
These links tell that CCMS agent is replaced by these agents from SAP Netweaver 7.0 Eph 2.
I found below doc which explains "How to use the SAPControl Web Service Interfaces" exposed by "sapstartsrv" to execute instance specific tasks,
But it does not tells any methods/APIs/webservice interfaces specific to Host system or get OS data using "saposcol".
SAP Control WebService
Similar to this, Is there any API/webservice to retrieve the OS and Host related data??.
Also, Is there any other doc for SAPHostControl or saphostexec similar to sapstartsrv ??
Thanks,
SwapnilHi Swapnil,
I too wanted this info and came across these.
Take a look at these urls :-
http://localhost:1128/SAPHostControl/?wsdl
http://localhost:1128/SAPOscol/?wsdl
grep saphost /etc/services
saphostctrl 1128/tcp # SAPHostControl over SOAP/HTTP
saphostctrls 1129/tcp # SAPHostControl over SOAP/HTTPS
Hope this helps.
Cheers
Craig -
Web Services Interface to AS400 for Automatic Bill Payment
We need the ability via our UCCX 7.01 SR5 environment to allow customers to call in via IVR and make a payment to our billing system which runs on our AS400. We would prefer to use a web services interface. I'm comfortable with basic scripting but have a feeling this will require more advanced scripting then what I'm comfortable doing. I'd first like to know if interfacing with an AS400 is possible without having to purchase anything else and if so what would be required? Nuance license, etc?
Tim,
This could get very complex very quickly depending on what you are wanting to do. You will likely need at a minimum some sort of Text-to-Speech(TTS) and Advanced-Speech-Recognition(ASR) server as well as the requsite licenses for your UCCX box. Once you get this setup and licensed the real fun begins. You'll need to record the various prompts and work with a vendor to create the necessary scripting. While I'm sure UCCX can do this through various scripts it's not a easy thing to do. You'll definately need to look into the licensing aspects of this from a UCCX side and then the time and money from a scripting point of view. If you reference the scripting guides for your release of UCCX I think you'll find the starter scripts you need there. Hopefully this helps you in the right direction, please let me know if there are other questions you have that I can help you with. -
hello colleagues,
In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
Error,
Connect Diagnostics Agent
The table does not contain any data
Agent availables in all SLD
SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
ThanksOK, then pls follow below steps;
- Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
- Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
- If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
Let me know the results.
Regards,
Vivek -
DO Web Service allow you to retrieve data from database and make it pluggab
Can Web Services allo you to retrieve data from the database and do they make the pluggable by allow you to plug them into any database.. how is that possible....
Going through the javaee tutorial is one sure way of accelerating your learning curve, as almost every basic you will need to get your job done is explaiined well in there. i have been using it to learn building enterprise application and is awesome good resource.
seriously consider downloading it
java.sun.com/javaee/5/docs/tutorial/doc/ -
Web service functions in SSO without username and password
Is there a way to use the Public Report Web Service functions when configured in SSO and without passing a username and password? I was able to try out the web service and make it work. As we all know, you need to pass a username and password for each web service call unless your reports can be accessed by guests. In an SSO + LDAP server configuration, there are cases in which you are not allowed to get the password. The password can not be decrypted.
Is there a way to still use web service? or do you need to use the url approach instead? But if you use the url approach then you may be limited to generating reports only.
I'm thinking there should be since if you are already logged in for SSO then you should be able to generate.
Any way to configure this?<i>When I access web reports from bw.</i>
i hope you are not talking about BEX web reports , since you have mentioned ITS.
Is it a standlone ITS or intergrated ITS?
can you post the url pattern here.
Regards
Raja -
I get an web service error when trying enable web services. I have latest update and rebooted
i get an web service error when trying enable web services. I have latest update and rebooted
hi there philnj,
could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
Hi,
I don't know if this is an appropriate question to ask for this class as it's not
workshop
specific. I was wondering how will I decide when it is appropriate to use a web
service as opposed to say servlet or an EJB for my application? What is a good
rationale to use?
Thanks,
SadhanaHi Adam,
Thanks a lot for giving such a lucid explanation of my vague question!
I understand now the difference between when to use EJBs/Servlets/Web Services.
Thanks again!
Sadhana
"Adam FitzGerald" <[email protected]> wrote:
>
Hi Sadhana,
Web service versus Servlet versus EJB. Which one to use? That is a very
good question.
EJBs should be the core desription and processing of your business rules.
They generally
have good performance, are easy to integrate into your security set up but
they require
access using the RMI-IIOP protocol. This means that generally EJBs are not
accessible
outside of your firewall and their clients have to be written in Java (other
enterprise
objects or applets or GUI applications).
Servlets often form a web-based front end to EJBs. They also have good performance,
integrate into security and only require HTTP access. This means they are
accessible
outside your firewall and any client with a HTTP or web API can call on
them, however,
there is no standard contract or rules for this type of interaction so you
will need
provide direct input into development of the client.
Web services are also accessible via HTTP and so can be accessed from outside
your
firewall. In fact, Web services internally within Workshop and WebLogic
actually
operate by using servlets and EJBs but the main advantage is that the mechanism/contract
for interacting with the web service is a well defined standard (WSDL) and
can actually
be registered or retreived dynamically (UDDI). Since web service standards
are open,
most popular programming languages already provide client APIs to interact
with them
thus freeing the web service developer from direct interaction with the
client developer
and letting the client be developed on any platform. The penalty for this
openness
is a small performance hit (XML translation) and a slowly maturing security
model.
So in summary, use EJBs for business operations that have Java clients within
your
enterprise, use servlets to provide web style access to your business operations
(like web pages) and use web services to enable automated clients that can
be written
on any platform either inside or outside your enterprise (firewall). In
fact, it
is common to write the EJB first and then to expose some parts of it outside
of your
enterprise by writing a web service wrapper (maybe using the EJB controls
that we
saw in class).
I hope this helps.
Adam
"Sadhana Jain" <[email protected]> wrote:
Hi,
I don't know if this is an appropriate question to ask for this class as
it's not
workshop
specific. I was wondering how will I decide when it is appropriate to use
a web
service as opposed to say servlet or an EJB for my application? What is
a good
rationale to use?
Thanks,
Sadhana -
Security: web services on WLS 8.5, ALSB and proxy on 9.1
Hi everyone, here's my current situation. I've got some web services running on WLS 8.5, and I've imported them as Business Services into ALSB. The web services themselves are not secured, but I modified the WSDLs so that I could create proxy services which enforce the security.
The security enforcement works when I test it through ALSB test console. However, now I'm trying to create a client web service to invoke the proxy. The client is being made using Workshop running on 8.5 server.
I can get the client to successfully invoke the proxy with no policies attached. Then I made a proxy with BEA's Auth.xml required for inbound messages. The keystores are identical on both the proxy server and the client server.
<input>
<wsp:Policy>
<wsp:PolicyReference URI="policy:Auth.xml"/>
</wsp:Policy>
<soap:body use="literal"/>
</input>
I imported the WSDL into workshop and created a java control from it. I attached a WSSE policy file to the control:
<wsSecurityOut>
<encryption>
<encryptionKey>
<alias>flcoi1</alias>
</encryptionKey>
</encryption>
</wsSecurityOut>
Added this control into a blank web service. The only error being returned from the server is:
com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.NullPointerException
String:null
Detail:
END SERVICE FAULT
with no further explanations. Does someone know what would cause this exception? Or if it's even possible to do what I'm trying (between WLS 8 and 9)?Hi!
In my tries to get security to work between WL 8.x to ALSB I realized that WL 8.x don't have support for WS-Security (and therfore WS-Policy) that ALSB uses, but maybe there are some workarounds...
/Patrik -
Hi,
in Italy the format of date is DD/MM/YYYY e the formato of numbers is NNN,DD (DD means Decimal).
I use Excel for IPAD but when I write for instance 28/03/2015 the field shows 03/28/2015, the same problem is for numbers where the comma and the dot are inverted.
How do I change the format of date and numbers?
Thank you in advance.
MaxThe general format of the date is tied to the language...use US english, get US date formatting.
You may want to poke around in excel's settings. I know the desktop version allows you to alter the date formatting, but I'm not sure if the iPad app has that. Look for 'cell formatting' in the settings and see if it's alterable.
If not, you can try to make your template on a PC, then put that excel onto your iPad and see if it honors the cell formatting already in place. -
How to set the Date and Currency Formats Based on Country
Hi Friends,
I am designing the one Global Form it will use for all countries.
in that Form i want to print the date and currnecy Formats based on country.
Like
For US i want print the date and Currency Like This.
Date - MM/DD/YYYY
Curremcy - XX,XXX,XX.XX
For DE i want print the date and Currency Like This.
Date - DD.MM.YYYY
Curremcy - XX.XXX.XX,XX
Please suggest how i can control these things through Java Script or Formcalc....Hi Nitin,
thanks For ur reply,
i tried with this solution,
But it is displaying the default Format like bellow formats.
For short - mm/dd/yy
For Medium - mmm dd , yyyy
For Long - thursday ,mmm dd , yyyy
it was prinitng in above mentioned format,
but here i want to print my own format for USA like MM/DD/YYYY. -
My iMessage and Facetime won't activate, says waiting for activation. All photos and contacts are restored, using email and wifi only, no service. Only issue is date and time will not automatically set.
Howdy eewebe13,
So you have no cellular service but are on Wi-Fi yet iMessage and Facetime are waiting for activation.
Please step through this article for that scenario.
If you get an error when trying to activate iMessage or FaceTime - Apple Support
Thank you for visiting Apple Support Communities.
Nubz
Maybe you are looking for
-
Questions about accessing data from old drives
I am trying to access data from a 10-12 yr old IDE drive that I used with a PC way back when. I place it in an enclosure, and when connected, receive a message via Lion (see attached). Anyone have any idea if the drive may work when connected to a mo
-
WE RECIVED ORDER FROM THE CUSTOMER. VA01 NEXT DELIVERY VL01N VF01 BILLING J1INN EXCISE IF THE CUSTOMER RETURNS GOODS WE RECIVE GOODS WITH REF TO BILLING DOCUMENT CR CREDIT MEMO REQUEST GE CREDIT NEMO HOW TO HANDLE EXCISE HERE PLZ ARGNT THROUGH SOME
-
Error when installing Incredibles game on Snow Leopard
Have the Incredibles game for the kids... Trying to install on the new iMac 27 incher... Getting the following error/message. Initializing InstallShield Wizard... Searching for Java(tm) Virtual Machine... ..........A suitable JVM could not be found.
-
Need more information for TLP (Govt purchase)
Hi, I am seeking more information on TLP for govt purchase, but have not been able to reach any of the Singapore office contact numbers for the past few days (No answer). Is there any direct mail available to reach them?
-
The cellular data services have disappeared from my settings. Can anyone help me restore it please?