Http Service Round Up problem
Hi,
I am using flex3 in the client side and java 5 in the server
side in a web application.
In my application to exchange the data I am using HttpService
mechanism.
Now in this mechanism I am facing the following problem.
A field is alphanumeric in nature. Now when it contains
purely numeric value more than 14 digits, then when accessing it in
the success result handler it is giving the round up value though I
need the original value.
For example:
Let say it is BIC Code and its original value is
5251010000000327842.
When I am generating the response from the server side I am
setting this value.
Now when I access this from the success result handler I get
the value as 5251010000000328000 instead of 5251010000000327842.
Can any one help me how to over come the problem?
Thanks in advance.
"kitumaster" <[email protected]> wrote in
message
news:gfgsdh$de8$[email protected]..
> Hi,
> I am using flex3 in the client side and java 5 in the
server side in a web
> application.
> In my application to exchange the data I am using
HttpService mechanism.
>
> Now in this mechanism I am facing the following problem.
>
> A field is alphanumeric in nature. Now when it contains
purely numeric
> value
> more than 14 digits, then when accessing it in the
success result handler
> it is
> giving the round up value though I need the original
value.
>
> For example:
>
> Let say it is BIC Code and its original value is
5251010000000327842.
>
> When I am generating the response from the server side I
am setting this
> value.
> Now when I access this from the success result handler I
get the value as
> 5251010000000328000 instead of 5251010000000327842.
http://choronzon.net/Jared/OReilly%20Bookshelves/web2/action/ch04_03.htm
Similar Messages
-
Problem Creating a HTTP Service in SOAMANAGER
Hi all,
I am having difficulty in setting up a HTTP Service in SOAMANAGER.
I have generated the Enterprise Service - Service Definition Succesfully in SAP from a RFC Enabled Function Group( this is working fine).
I then go into SOAMANAGER -> Single Service Administration -> Select the Service -> Select the Configurations Tab -> Create Service
The problem I have is that when this comes up under the
Provider Security Tab -> Transport Guarantee -> Communication Security
I do not have a radiobutton for "None" (this is what I want to select to create a HTTP service.)
I have the options
- SSL over HTTP (Transport Channel Security)
- Asymmetric Message/Signature / Encryption
- Symmetric Message/Signature Encryption
Secure Conversation
If you see William Li's blog /people/william.li/blog/2010/02/15/how-to-avoid-authentication-when-accessing-ws-provider-service you item 3.6 shows how the screen is supposed to look (with the additional option of "None" as the first radiobutton).
My current workaround is to define the service and then go into SICF, select the service and change the Security Requirement from SSL to Standard on the Logon Data Tab. Although this works it is not the ideal solution.
I'm wondering if there is something we are missing in our soap run time, perhaps a configuration setting we need to set in srt_admin. (I believe this option was there before we did a service pack upgrade)
Has anyone experienced this before?Hi John,
I've experimented something like that before. I think solution was:
- Search the webservice in SE80, Repository Information System -> Enterprese Services
- Enter the service definition
- Go to 'Configuration' tab
- Click on 'Transport Security'/'Authentication'
- In profile setting, switch it for 'Low' or 'None'
I believe this will turn available the option you're looking for.
Kind regards,
Garcia -
I am trying to download iTunes and am getting an error message: "MobileMe Services encountered a problem and need to be closed"
Hello dananbar,
Thank you for the details of the issue you are experiencing when installing iTunes. I recommend following the steps in the article below when getting an error message trying to install iTunes:
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/HT1926
Thank you for using Apple Support Communities.
Best,
Sheila M. -
How do I debug an http service over a LAN in flex4
Hi I have a problem I would really like some help with.I am hoping to use PHP as a back end for my app. I don't think AMF looks viable as I can't change the php.ini file on the production server or install Zend. As my data requirements are very small I have opted for http service calls .My set up is all my files are on a development machine and I'm editing them through a lan connection on windows vista. I have php Zend server runing on the server with mysql set up.
My problem relates to testing. When I debug the file the calls don't seem to get through. The Network monitor confirms this. Also the spinning Icon stays up. I don't get any exception however.
If I then open up the swf file through the network share then the file works. If I copy it from the share to my hard drive it doesn't. I don't understand whats going on but it's making debugging difficult as I can't use traces this way and exceptions are ugly.
Is there a simple solution to this problem?
Things it can't be : firewall. I can definitely open this address on port 80. Also the network address is right and I assume that if I open the client on my machine then it is connecting from my machine, so when it works the address must be right.The only thing I can think is the cross domain policy but I don't see why that should occur when the files on the same machine or does flex create a local copy for testing?I'm pretty sure you can do this by making a manual menu.
>Insert a menu from your widget menu
>Select the menu options for your widget
>You will see an option that says "Menu Type" with choices of All Pages, Top Level Pages, or Manual
>Select "Manual"
You will have to manually set up your entire menu, but it will enable you to do what you are trying to do. Create the menu buttons that you need and name them. You can then select an individual menu button and the "Hyperlink" option appears in the top menus. You can either direct it to a page on your site or put in a link that directs them away from your site like you are looking to do.
Hope this helps! Nobody is responding to my request, so I figured I would try to respond to someone else while I was waiting! -
Employee Photo - External HTTP service
Hi all,
currently I trying to setup the Employee photo dysplay in the portal Iview photo and in PA20/30 transaction. My problem is that I have the requirement to use an external http service that doesn't supports SAP Content Server HTTP Interface and it requires Basic authentication.
The access to the picture can be done by a direct url http://hostname/path/pernr.jpg ou using a dll service, http://hostname/path/service.dll?docid=pernr.
Does anyone ever face a similar problem, is there a way to implement this using "standard" features?
For example put the access logic to the picture in a function module or other object, and setup the z* object has the content server implementation.
Thanks and best regards,
Paulo RuivoHello
Where are you trying to store the photos? In an external storage system or in the database?
If you are using an external storage system, please note that you must use either a different content server installation for each system, or at least a different content repository.
In case you are using the database storage, then make sure you have followed all the instructions from the note 595563 to do this. In case everything is fine, please go to OAC0 and test the connection to your content repository.
Additionaly please ensure that you have the lastest version of SAPHTTP installed on your system. Please review the SAP note 615354 for more information on this.
Thanks and Kind Regards
Ramana -
HTTP SERVICE STOPS FOR NO REASON AND NO ERRORS IN LOGS WIN2K
The HTTP service stops for no reason and we have to stop and restart to unlock and web server runs again. It appears to be related to number of concurrent users but we cannot tie it down to and specfics except on our NT 4.0 system the service never stops and runs fine . We are running versions R1 patch 4 and have gone up to 5 and 7 . We are running against an 9i database and using forms and reports. We are not using the forms server in patch 4 just the HTTP service. This is a big problem and would like an answer if possiable.
Please post your question in the appropriate product forum(s):
Database
http://forums.oracle.com/forums/index.jsp?cat=18
AppServer
http://forums.oracle.com/forums/index.jsp?cat=13
Forms
Forms
Reports
Reports -
Http service over ssl with IE8 not working works in all other browsers
Hi,
The web server is running ssl (https) and the server as a valid certificate. The main swf loads but then I make a http service call to a relative address on the same server for some database information I get an IO error
This works fine in all browsers except internet explorer, however IE will work if I don't use ssl and use normal http.
Is there a setting in IE that would allow this, is there a known issue and better still a workaround. I have tried trusted site setting and everything else I can think off.
TIA
HarryI had this problem, and it was related to the way IE8 handled ssl certificate revocation checking. I had to turn off the check box in IE8 options that told it to check for revocation.
Mark -
Call http service extract value from person/group field
Hi
I have a list that has people or group field.
When Runing my WF I want to get in to a variable the members of the group that is in people or group field.
I would like to extract members from group using call http action.
How can i start?
which URL should i put in "Enter the HTTP service URL"?
pleas your help.Hi,
You can use the following URL to extract the members from group
http://siteurl/_api/Web/SiteGroups/getbyname('groupname')/users
You can create a workflow variable and extract the value from the people or group field
Build the URL using as follows
[%Workflow Context:Current Site URL%]/_api/Web/SiteGroups/getbyname([%Variable: GroupName%])/Users
For more information how to use the Web Service in workflow use the following article.
http://blogs.msdn.com/b/sharepointdesigner/archive/2012/09/05/how-to-work-with-web-service-using-call-http-web-service-action.aspx
Please don't forget to mark it answered, if your problem resolved or helpful. -
TREX 7.1 IIS logon failed http service start failed
TREX 7.1 Rev 36 wurde in folgender Systemumgebung installiert:
Windows Server 2008 R2 Standard (64 Bit)
Java: Sun JSE 1.4.2 64bit (1.4.2_25 Rev b02)
Umgebungsvariablen JAVA_HOME=C:j2sdk1.4.2_25-x64 gesetzt bzw. PATH ergänzt
um C:j2sdk1.4.2_25-x64jre in
IIS 7.5 wurde installiert
Problem: Beim Schritt "Configuring the TREX Web Server" (Seite 48f.) bleibt der Service "httpserver" als einziger im roten Zustand.
aptrex01 31005 httpserver - http.//aptrex01:31005/TREXHttpServer/TrexlsapiExt.dll
Ein Restart-Versuch ergibt:
"Restarting the http service finished:
TREXIISCtrl.exe -ul -iisrestart /tns:aptrex01:31001
IIS logon failed. Wrong sidadm password used by TREXIISCtrl.exe
or no sidadm password stored in TREXIISCtrl.exe.
HttpServer could not be restarted."
Die SAP-Hinweise 1423381, 1008299 und 1029783 sind bekannt.
1423381: IIS 6.0-Kompatibilität wurde nachinstalliert
1008299: der IIS wurde bislang noch NICHT in den 32-Bit-Modus gesetzt
1029783: die beiden Dateien msvcp71.dll und msvcr71.dll waren zwar nicht im angegebenen exe-Verzeichnis zu finden, wurden aber von C:TEMPClt-InstSystem32 (Datum 12.01.2010) in die aufgeführten Verzeichnisse kopiert.
Der Blog /people/bettina.knauss/blog/2006/12/11/trex-admin-tool--troubleshooting-if-httpservice-is-not-running ist bereits bekannt (Bettina Knauss), ebenso dieser SDN Thread:
(CRM2007 to Trex server issue).
Mit freundlichen Grüßen
Rüdiger Höckel
apetito AG
SAP BasisHi Mark,
I know the SAP Note 1483929. When I execute the command it breaks.
\usr\sap\TXD\TRX03\exe>trexiisctrl -ul -storeprops /ap:<PASSWORD> /sp:<PASSWORD> /tns:txdci:30305
Environment variable DIR_EXECUTABLE not set, using SAP_RETRIEVAL_PATH/.. as fallback
SAPLOCALHOST='txdci'
SAPSYSTEMNAME='TXD'
SAPSYSTEM='03'
SAP_RETRIEVAL_PATH: 'I:\usr\sap\TXD\TRX03\txdci\'
TARGET: 'I:\usr\sap\TXD\TRX03\txdci\'
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Kind regards,
Roland -
Attachment display by ITS instead http Service
Hi,
we use EBP 4.0 Bid Scenario.
Our Support package level is:
SAP_BASIS 620 0036 SAPKB62036
SAP_ABA 620 0036 SAPKA62036
BBPCRM 400 0004 SAPKU40004
PI_BASIS 2003_1_620 0005 SAPKIPYH55
ST-PI 2005_1_620 0004 SAPKITLQG4
ST-A/PI 01H_CRM400 0000 -
ITS, Version 6200.1020.55116.2, Build 800981
The topic of our request is about download of file Attachment in Bid Scenario. As you know in the bidding transactions of EBP bid invitation and vendor quotation (BBP_BID_INV and BBP_QUOT) the user can attach some files during the creation of the document (bid invitation or quotation). During the phase of attachment download the server use the docserver configuration and we get a link similar to http://touareg.it.pirelli.com:8045/sap/ebp/docserver/008/pirelli_re.gif?attcget&ClId=4510DA3E6C093A55E10000000AEFF00F
This is a tipical link that use the document server http service to display the attachment.
We would like to use the old configuration of ITS attachment display instead the docserver. In particular the use of docserver force to use different TCP port and address and not the same TCP port and address that the ITS use. We need to use only channel (the same as the ITS use for the users logon) in order to satisfy the security policy.
This is the link of the user during the ITS connection that use different server and ports (ITS instead WAS):
http://crmserver.it.pirelli.com:85/scripts/wgate/bbpstart460952c7/~flNlc3Npb249SVRSOmNybXNlcnZlcjowMDAwLjAwMGIuMjNiNGUxNTMuNWM3MyZ+aHR0cF9jb250ZW50X2NoYXJzZXQ9dXRmLTg=
We find some oss notes as 434218, 588597 or 605323 about this topic but what we need is the opposite behaviour : display the attachment from ITS connection instead http Service.
Best regards.Davide,
Hi. I had a similar problem.
You can programatically display the attachments as an ITS service. This is done through a call to function module within a bespoke ITS transaciton.
The below code was to send the shopping cart print out as a pdf, but the same principle would apply from any attachment. You would just need to read in the attachment as a binary table (Look at the code in docserver to see how to do that)
Buffer set for
concatenate
'attachment; '
'filename=Cart'
i_cartid
'.pdf'
into lv_mimedisp.
Download & display this on the ITS server
call function 'BBP_ALEWEB_DOWNLOAD'
exporting
data_len = l_size
mime_type = lc_type
" mime_disp = lv_mimedisp
tables
data_tab = tab_pdf
exceptions
its_not_available = 1
others = 2.
if sy-subrc ne 0...
I found this to be a bit flawed in that you loose the link to the transaction (ITS page), and therefor the user is always logged, even though they have closed the attachment display. In the end I used a call to WAS from ITS (i.e. the docserver), and turned on SSO.
By turning on SSO you would most likely avoid security issues, but obviously it is dependant on your specific network.
These issues are avoided with SRM 5.5 where the ITS is internal, and therefor on the WAS
http://saptest:8080/sap/bc/gui/sap/its/bbpstart/!
vrs
http://saptest:8080/sap/bc/bsp/sap/itsm/default.htm
Cheers
Rob -
Hi,
"Quality of service (QOS) is disabled in the HTTP service. Unable to turn on QOS features." this message is seen and server restart itself. Why this occur?
Thanks..That message is logged when you have QOS disabled. Check http://docs.sun.com/source/817-1831-10/agsnmp.html#wp999778 for information on enabling QOS.
However, the server should not crash/restart. Please describe the steps to reproduce the problem.
Message was edited by:
Arvind_Srinivasan -
Dear Readers:
I hope you can help me to debug an error I am getting on install of both the Oracle 9i database (9.2.0.1.0) and the Oracle9iAS Release 1 (V1.0.2.2). After the database install is complete I am getting the following error on the start up of the HTTP Service:
[Fri Jul 12 22:59:38 2002] [crit] (10045)The attempted operation is not supported for the type of object referenced: Parent: WSADuplicateSocket failed for socket 1028.
[Fri Jul 12 22:59:38 2002] [error] master_main: create child process failed. Exiting.
[Fri Jul 12 23:00:38 2002] [error] forcing termination of child #0 (handle 1256)
[Fri Jul 12 23:08:28 2002] [crit] (10045)The attempted operation is not supported for the type of object referenced: Parent: WSADuplicateSocket failed for socket 1092.
[Fri Jul 12 23:08:28 2002] [error] master_main: create child process failed. Exiting.
[Fri Jul 12 23:09:28 2002] [error] forcing termination of child #0 (handle 1320)
As far as I know I am taking care to uninstall according to the documentation and reinstall; however, I am still getting the same errors. I hope someone can help with this very urgent request, as I have a demo to show a client next Friday.
Bests,
HarjeetI was just able to get it working on mine on a VMMR2 Cluster (hyper-v on 2012 and 2012 R2 hosts with the same success) and the Service Template using a VM template with Server 2008R2 Enterprise. I don't know if you did the same steps but:
created a fresh VM in VMM - install Virtual Guest Services.
convert that VM to a VM Template - VMM then copies the VM files to a location on your VMM Library.
create Service template using the new VM template - with no services.
I've had problems in the past with trying to convert a VM to a template, and the VM would fail at the 'Fix up differencing disks' .. It wasn't until I did a fresh install instead of trying to convert a VM copy of a copy of a copy of a V2V migration..
Mine completes successfully but with an error couldn't install Virtual Guest Services when they are already installed. hmmm.. The VM/Service is running fine however.
---------------------------- Error I got -------------------------------
Error (13233)
Unable to install Virtual Guest Services on virtual machine TEST_SERVICE. The Hyper-V Integration Services setup exited with error code 60001.
Recommended Action
For more information, refer to the Hyper-V documentation for virtual machine integration services at
http://go.microsoft.com/fwlink/?LinkId=118036 and then try the operation again. -
Web Services Round Robin Service Load Balancer Event Endpoint Failure
I keep seeing these errors in the UlsTraceLogs:
SharePoint Web Services Round Robin Service Load Balancer Event: EndpointFailure Process Name: OWSTIMER Process ID: 3748 AppDomain Name: DefaultDomain AppDomain ID: 1 Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:9b3095eda69947b299d2f873bbfee5ad#authority=urn:uuid:a01381a61b244525ab4fec30cde9dc5f&authority=https://ApplicationServerName:port/Topology/topology.svc
Active Endpoints: 2 Failed Endpoints:1 Affected Endpoint:
http://WFEserverName:port/9b3095eda69947b299d2f873bbfee5ad/ProfileService.svc
what do these errors mean?ok, thanks, I'll have a look at that.
Going back to my issue... Since I stopped the User Profile Service on the Application server, now I'm getting these non-stop messages in the log:
SharePoint Web Services Round Robin Service Load Balancer Event: EndpointFailure Process Name: w3wp Process ID: 6088 AppDomain Name: /LM/W3SVC/261708640/ROOT-1-130709594108226406 AppDomain ID: 2 Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:9b3095eda69947b299d2f873bbfee5ad#authority=urn:uuid:a01381a61b244525ab4fec30cde9dc5f&authority=https://ApplicationServerName:port/Topology/topology.svc
Active Endpoints: 2 Failed Endpoints:1 Affected Endpoint:
http://ApplicationServerName:port/9b3095eda69947b299d2f873bbfee5ad/ProfileService.svc
SharePoint Web Services Round Robin Service Load Balancer Event: EndpointFailure Process Name: OWSTIMER Process ID: 8304 AppDomain Name: DefaultDomain AppDomain ID: 1 Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:9b3095eda69947b299d2f873bbfee5ad#authority=urn:uuid:a01381a61b244525ab4fec30cde9dc5f&authority=https://ApplicationServerName:port/Topology/topology.svc
Active Endpoints: 2 Failed Endpoints:1 Affected Endpoint:
http://ApplicationServerName:port/9b3095eda69947b299d2f873bbfee5ad/ProfileService.svc
This time, the messages are referring to the same server - the Application Server. In my original question, I should've differentiated the server names when I pasted the message. Originally the message was referring to the Application
Server and Affected Endpoint was referring to a WFE. I'll edit my original post to make it correct. -
Portal Not Responding ( May be with Dispatcher / Http Service )
Hi Folks,
Our Portal system has stopped responding and there is no response for any request. Meanwhile if I go to SAPMMC console, all Status are shown Green.
I think the dispatcher (or internally HTTP service) could be an issue, but not able to debug the same. I have got the same issue before, and the only way I could correct it was by restarting the portal server. I don't want to take this route and want to get to the root of the problem.
Has any one faced the same issue? Please guide me how to debug the issue.
Thanks,
DeepakDear Sudhir,
Thanks for your time.
I have basic Http Watch tool and I ran the same. There is no response from the server and hence nothing is being returned. Any other points Sudhir?
Regards,
Deepak -
Custom WS Policy with Service account in OSB while invoking a https service
Hi,
I need your help on one of my issue in invoking an https service from OSB. I read through various posting and tried the below steps in this forum
-Added the certificate for the https site to soa domain
-Registered the https webservice as a Business service
-Registerd a proxy service on top of this Business service
-In the service call out on Proxy service I did a replace operation on the entire soap header with the below string
<soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-4" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>sysuser@yahoo</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ABIHAIKLPLKLPMLERLER</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
-After doing all the above steps my call out worked from the test console, If you see closely the userid(sysuser@yahoo) and password(ABIHAIKLPLKLPMLERLER) is hard coded here.
I need a way to mask the credentials and have the user pass them when they invoke the proxy service. I read through some posting and it was listed that we can create a custom policy and attach that custom policy to the Business service. But my problem here is the userid has an extra char @, so I wasn't able to create the user account with those credentials in OSB, but I was able to create the userid and password using a service account. Iam not sure how I can use this service account along with the custom policy.
Can you please provide me a suitable approach, which will solve my issue. I appreciate your time and help
Thanks
Jagan.Hi,
Below are the steps followed
- OSB Proxy service has 'oracle/wss_username_token_service_policy' attached to it.
- Iam invoking this from BPEL. BPEL process has 'oracle/wss_username_token_client_policy' attached.
- I can invoke the osb proxy from bpel by passing credentials - No Issues.
Now I need to put some authorization restriction to the proxy service, so only specific users can access that.
-I used Role=Admin as a policy condition restriction under security in Proxy service.
-Then I went to proxy test console and I added the 'oracle/wss_username_token_client_policy' credentials and weblogic/xxxxx at Transport section and I was able to invoke the process. Here weblogic has a Admin Role.
-I cannot invoke the same proxy service from BPEL in Jdeveloper now.
All Iam trying to do is to protect my proxy by authrorization policy.
Thanks
Jagan.
Maybe you are looking for
-
.msi error when downloading itunes 10.5
.msi error when I try and download itunes 10.5. Anyone have a fix or suggestion?
-
ITunes 9.0.1 freezes
iTunes 9.0.1 freezes when starting. I had 9.0 and everything worked fine. Did the upgrade to 9.0.1 and now iTunes freezes. Help anybody.
-
Model # BDV-N8100W - Blu-ray Disc DVD Home Theatre System
Serial Number Location: At the rear of the unit. Attachments: Warranty_455717203.pdf 111 KB BDVN8100W_mksp.pdf 250 KB BDV-N7100W_N8100W_N9100W_qs_EN_ES.pdf 2891 KB BDV-N7100W_N8100W_N9100W_install_EN_ES_FR.pdf 1200 KB BDVN7100W_N8100W_9100W.pdf
-
PSE 8 Mac---thumbnail for actions I install doesn't show up
Hello, I am hoping to get some advice here. I recently upgraded to PSE 8 for Mac. I have a number of actions (.atn files) that I purchased in the past and use with PSE. I installed just one of them to make sure I could get it to work in the new pro
-
LOGS PROVIDER HAS STOPPED ,WHAT DO I DO TO FIX PROBLEM?
GALAXY S4 -"LOGS PROVIDER HAS STOPPED .HOW DO I FIX PROBLEM?