BC 4.8 sending a HTTP Code or an own XML Response
Hi Guys,
I receive an ORDRSP (ORDERS05) about http and the supplier needs a status code, that the request was successfully. HTTP Code 200 or an own XML Response are great.
Is it possible to do this with the BC 4.8?
Any Ideas?
Greetings,
Michael
Edited by: Michael Nett on Jul 30, 2010 12:04 PM
Hi ,
Refer these links,
http://w3.miraclesoft.com/msws/msoft/products/oracle/pdf/SAP-IDOC_Article.pdf
http://www.sap.com/korea/partners/icc/scenarios/pdf/ICC_INTEGRATION_GUIDE_22.pdf
http://www.soberit.hut.fi/T-86/T-86.161/2004/Final%20report%20SAP_RN%20.pdf
regards,
Suryanarayana.M
Similar Messages
-
Hi,
I have a CAS, primary site and a DP. On Site properties I have set client communication : HTTP or HTTPS and PKI. on management point properties as well I have set Client communication as HTTPS PKI.
1. On primary site Multicast_servicepoint status is "error": I checked the mcsmgr.log and found below details:
Failed to send http request /SMS_MCS/.sms_mcs?op=healthcheck. Error 12030
Call to HttpSendRequestSync failed for port 443 with 12030 error code.
Health check operation failed, error code is 12030
Health check operation failed, error code is 12030
2. When I deploy any package to client it stuck in software center as "Downloading the information". no content has been getting copied. I checked the log 'datatransferservice.log' and found below error :
"Successfully sent location services HTTPS failure message.
Error sending DAV request. HTTP code 600, status ''
GetDirectoryList_HTTP mapping original error 0x80072efe to 0x800704cf.
GetDirectoryList_HTTP('https://myDPaddress.com:443/NOCERT_SMS_DP_SMSPKG$/CAS00028') failed with code 0x800704cf.
Job {CFD64352-918B-4C1D-A9C4-9C52ABAC6524} reverted impersonation.
Error retrieving manifest (0x800704cf). Will attempt retry 1 in 30 seconds.
Failed to send request to /NOCERT_SMS_DP_SMSPKG$/CAS00028 at host Mydpaddress, error 0x2efe
[CCMHTTP] ERROR: URL=https://mydpaddress.com:443/NOCERT_SMS_DP_SMSPKG$/CAS00028, Port=443, Options=480, Code=12030, Text=ERROR_WINHTTP_CONNECTION_ERROR
Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:41932A1A-ADDE-450F-8F16-22DC875D2E39";
DateTime = "20141225182459.543000+000";
HostName = "mydpaddress.comt";
HRESULT = "0x80072efe";
ProcessID = 7356;
StatusCode = 600;
ThreadID = 6936;
Successfully sent location services HTTPS failure message.
Error sending DAV request. HTTP code 600, status ''
I think there is some issue with IIS configuration on site server or DP or on both. Please let me know a solution..
RegardsI have corrected the PKI certificate. still Issue not resolved.
I checked further and found sms_mp_control_manager was stopped and was offline, Unable to communicate with component (error below)
Unable to query the component.
This is a child primary server. not on production yet. Removing and adding MP will resolve the issue ? if yes what are the prerequesite you suggest. pls share any link .
or any quick resolution you have ? please share...
Log: mpmsi.lasterror
Property(S): SMSCWSADSPATH = IIS://LocalHost/W3SVC/1
Property(S): CCMSHAREMODE = 1
MSI (s) (5C:EC) [08:22:19:157]: Note: 1: 1729
MSI (s) (5C:EC) [08:22:19:157]: Product: ConfigMgr Management Point -- Configuration failed.
MSI (s) (5C:EC) [08:22:19:157]: Windows Installer reconfigured the product. Product Name: ConfigMgr Management Point. Product Version: 5.00.7804.1000. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status:
1603.
MSI (s) (5C:EC) [08:22:19:368]: Deferring clean up of packages/files, if any exist
MSI (s) (5C:EC) [08:22:19:368]: MainEngineThread is returning 1603
MSI (s) (5C:B0) [08:22:19:372]: RESTART MANAGER: Session closed.
MSI (s) (5C:B0) [08:22:19:372]: No System Restore sequence number for this installation.
=== Logging stopped: 12/26/2014 8:22:19 ===
MSI (s) (5C:B0) [08:22:19:375]: User policy value 'DisableRollback' is 0
MSI (s) (5C:B0) [08:22:19:375]: Machine policy value 'DisableRollback' is 0
MSI (s) (5C:B0) [08:22:19:375]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (5C:B0) [08:22:19:375]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:B0) [08:22:19:376]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (5C:B0) [08:22:19:376]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (5C:B0) [08:22:19:377]: Destroying RemoteAPI object.
MSI (s) (5C:00) [08:22:19:377]: Custom Action Manager thread ending.
MSI (c) (30:B0) [08:22:19:378]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (30:B0) [08:22:19:379]: MainEngineThread is returning 1603
=== Verbose logging stopped: 12/26/2014 8:22:19 === -
Error sending DAV request. HTTP code 500, status 'Internal Server Error'
Hi All,
I am getting the error On SCCM R2 Environment .. on the client machine we are getting the below issue and software center
is not showing any information..
While checking on the client's DatatransferService.log.. i am getting the below issues..
Successfully sent location services HTTP failure message.
Error sending DAV request. HTTP code 500, status 'Internal Server Error'
GetDirectoryList_HTTP('http://MachineName:80/SMS_DP_SMSPKG$/7ea0b105-5592-48cd-8b8e-81777537c34f') failed with code 0x87d0027e.
i realize it because of Isapi filter issues.. can any one guide me to resolve the issues..
KJSUBBUHi,
In addition, I recommend you check whether you have additional Authentication methods (like ASP.NET Impersonation) enabled.
Disable the authentication method and try again.
Also, please review the link below, here is a article about troubleshoot ISAPI filter issue.
Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.0 – Internal Server Error"
http://support.microsoft.com/kb/942031
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
SCCM 2012 - Error sending DAV request. HTTP code 401, status 'Unauthorized'
Hi everyone!
I have a SCCM 2012 install with SQL 2008 R2 RU6 on it. All roles on the same server.
Application deployment was working last week and suddently, today, it's not working anymore.
Client fail to download applications. When I see the log "dataTransfertService.log" I got:
<![LOG[Enumerating DTS jobs for logged on user 'S-1-5-21-3498061407-3801314532-3722532443-1799'.]LOG]!><time="16:45:51.388-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:135">
<![LOG[Enumeration of DTS jobs for logged on user 'S-1-5-21-3498061407-3801314532-3722532443-1799' is complete.]LOG]!><time="16:45:51.878-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:151">
<![LOG[Enumerating DTS jobs for helper user 'S-1-5-21-3498061407-3801314532-3722532443-1799'.]LOG]!><time="16:45:51.878-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:154">
<![LOG[Enumeration of DTS jobs for helper user 'S-1-5-21-3498061407-3801314532-3722532443-1799' is complete.]LOG]!><time="16:45:51.939-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:170">
<![LOG[UpdateURLWithTransportSettings(): OLD URL - http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="16:48:31.738-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="ccmutillib.cpp:3083">
<![LOG[UpdateURLWithTransportSettings(): NEW URL - http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="16:48:31.738-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="ccmutillib.cpp:3095">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} created to download from 'http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1' to 'C:\WINDOWS\ccmcache\3f'.]LOG]!><time="16:48:31.816-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="datatransferservice.cpp:186">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} in state 'DownloadingManifest'.]LOG]!><time="16:48:31.816-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="2432" file="dtsjob.h:157">
<![LOG[[CCMHTTP] ERROR: URL=http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE]LOG]!><time="16:48:32.281-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:291">
<![LOG[Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:4D48BE30-A5BE-40C1-A946-B0773DE7C060";
DateTime = "20120723144832.297000+000";
HostName = "xxx.com";
HRESULT = "0x87d0027e";
ProcessID = 2236;
StatusCode = 401;
ThreadID = 4204;
]LOG]!><time="16:48:32.297-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="event.cpp:729">
<![LOG[Successfully sent location services HTTP failure message.]LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:395">
<![LOG[Error sending DAV request. HTTP code 401, status 'Unauthorized']LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:629">
<![LOG[GetDirectoryList_HTTP('http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1') failed with code 0x80070005.]LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:688">
<![LOG[Job {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} impersonating Network Access Account.]LOG]!><time="16:48:32.825-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="netaccessaccount.cpp:429">
<![LOG[[CCMHTTP] ERROR: URL=http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE]LOG]!><time="16:48:32.887-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:291">
<![LOG[Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:4D48BE30-A5BE-40C1-A946-B0773DE7C060";
DateTime = "20120723144832.887000+000";
HostName = "xxx.com";
HRESULT = "0x87d0027e";
ProcessID = 2236;
StatusCode = 401;
ThreadID = 4204;
]LOG]!><time="16:48:32.887-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="event.cpp:729">
<![LOG[Successfully sent location services HTTP failure message.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:395">
<![LOG[Error sending DAV request. HTTP code 401, status 'Unauthorized']LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:629">
<![LOG[GetDirectoryList_HTTP('http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1') failed with code 0x80070005.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:688">
<![LOG[Job {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} reverted impersonation.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="netaccessaccount.h:93">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} in state 'Cancelled'.]LOG]!><time="16:48:33.011-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="dtsjob.h:157">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} cancelled by client.]LOG]!><time="16:48:33.011-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="dtsjob.cpp:2771">
I already verified every single permissions, NAA is configured and has correct rights. I really don't understand what has changed...
any suggestion???
Thank you very much!SMS_DP_SMSPKG$ has Windows Authentication Enabled.
IIS Logs:
2012-07-23 15:10:08 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.79 ccmhttp 200 0 0 339
2012-07-23 15:11:38 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 38
2012-07-23 15:11:38 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 166
2012-07-23 15:11:38 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 2 5 1
2012-07-23 15:11:39 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 2 5 0
2012-07-23 15:11:39 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 1 3221225581 11
2012-07-23 15:11:39 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 384
2012-07-23 15:13:01 fe80::31df:ba5:7c1:caf6%11 GET /SMS_MP/.sms_aut MPLIST 80 - fe80::31df:ba5:7c1:caf6%11 SMS_MP_CONTROL_MANAGER 200 0 0 4
2012-07-23 15:13:11 10.28.80.98 CCM_POST /ccm_system_windowsauth/request - 80 - 10.29.73.101 ccmhttp 401 2 5 6
2012-07-23 15:14:01 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.82.72 ccmhttp 200 0 0 23
2012-07-23 15:15:40 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 348
2012-07-23 15:15:55 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.79 ccmhttp 200 0 0 363
2012-07-23 15:16:12 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.29.73.101 ccmhttp 200 0 0 393
2012-07-23 15:17:06 10.28.80.98 CCM_POST /ccm_system_windowsauth/request - 80 - 10.28.81.79 ccmhttp 401 2 5 0
In "ContentTransferManager.log" i see that error:
<![LOG[Starting CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89}.]LOG]!><time="17:11:38.999-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5400" file="ctmjob.cpp:2980">
<![LOG[Created CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} for user S-1-5-18]LOG]!><time="17:11:39.030-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5400" file="ctmanager.cpp:487">
<![LOG[Created and Sent Location Request '{996973D0-911C-4929-BE9D-39CB4D759265}' for package Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c]LOG]!><time="17:11:39.092-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332"
file="ccmpkglocation.cpp:83">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA]LOG]!><time="17:11:39.092-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332" file="ctmjob.cpp:1432">
<![LOG[Queued location request '{996973D0-911C-4929-BE9D-39CB4D759265}' for CTM job '{1C23F5FF-8ED3-43D2-91ED-169F82A24E89}'.]LOG]!><time="17:11:39.139-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332" file="ctmjob.cpp:151">
<![LOG[Persisted locations for CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89}:
(LOCAL) <a href="http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="17:11:39.452-120">http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="17:11:39.452-120" date="07-23-2012"
component="ContentTransferManager" context="" type="1" thread="5392" file="ctmjob.cpp:1894">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} (corresponding DTS job {D22196C4-A803-42F4-B4FD-6F5FA777A778}) started download from 'http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1' for full content download.]LOG]!><time="17:11:39.514-120"
date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5392" file="ctmjob.cpp:413">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA]LOG]!><time="17:11:39.577-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5188" file="ctmjob.cpp:1432">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} encountered error 0x80070005 during download ('Error processing manifest.')- The error maps to denied access.]LOG]!><time="17:11:40.217-120" date="07-23-2012" component="ContentTransferManager"
context="" type="3" thread="5400" file="ctmjob.cpp:2489"> -
Bom dia
Gostaria de saber quais são os motivos que levam uma mensagem síncrona, a retornar o erro: Error while sending by HTTP (error code: 500 , error text: Internal Server Error). Tenho em mente que possa ser por o receiver estar down mas não tenho a certeza, alguém me pode ajudar?
Obrigado,
Rúben CatronaBom dia Rúben,
Por ser uma comunicação síncrona acredito que deva ser externo, porém não dá para afirmar visto que o PI também se comunica internamente por HTTP.
Dê mais detalhes do que está realizando.
Você consegue fazer o mesmo teste diretamente no servidor destino (sem PI) através de outra ferramenta?
Outro teste seria aumentar o log na SMICM para 3, fazer a comunicação síncrona, voltar o nível de trace para 1. E analisar o log da SMICM procurando pela resposta 500.
Atenciosamente, Fernando Da Ró -
"Failed to Send the HTTP Message..." - HTTPSupport problem
Hello,
We're having a few difficulties when the HTTPServer in UDS5.0.3 running on Solaris 8. Basically, we have a pair of MS .NET servers using some XML Webservices that we reside on the UDS server.
The symptoms of the problem are that a lot of "Failed to send the HTTP message..." messages are being seen in the log for the partition that contains instances of the HTTPServer. The reason given is a UsageException on the ExternalConnection - stating that the "Object is not open for I/O so it cannot be read or written" (ExternalConnection::Write at 1). This only occurs when a HTTP Response is to be sent back to the .NET server.
Unfortunately, this exception appears to be occurring somewhere within the code held in the HTTPSupport library, so we can't easily trace the error. Worse still, we don't actually know what's causing the error.
Does the error indicate a problem with comms between our UDS HTTPServer and the .NET servers? We've also noticed a large number of socket connections being left in a state of CLOSE_WAIT when this error occurs (which eventually block the port altogether resulting in the HTTPServer instances becoming unresponsive).
As far as I can tell, the Solaris TCP/IP settings are all at the OS default.
Many thanks for any assistance,
Jason Bridgen.Hi Gordon,
The problem was solved, the customer changed his ip adress on the server and it's OK now!
Thank you !!
Hilla. -
("HTTP Code 200 : OK") SRT: Unsupported xstream found
Hi,
when I am trying send a request to an external webservice
I am getting this message. Do you have an idea what can cause this error.
Regards
ilhan
Server: SAP Web Application Server (ICM)
HTTP/1.1 500 Internal Server Error
set-cookie: MYSAPSSO2=AjQxMDMBABhBAFIAQwBIAEkAQgBVAFMAIAAgACAAIAACAAYyADgAMQADAB
BFAFMAUgAgACAAIAAgACAABAAYMgAwADAAOQAwADUAMgA2ADAAOQAwADcABQAEAAAACAYAAlgACQACRA
D%2fAPswgfgGCSqGSIb3DQEHAqCB6jCB5wIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYHHMIHE
AgEBMBkwDjEMMAoGA1UEAxMDRVNSAgcgCAYQFiMnMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJ
KoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wOTA1MjYwOTA3NDNaMCMGCSqGSIb3DQEJBDEWBBThnsmT
%2f90RLKhrO%2fWjjbrvDvw%21czAJBgcqhkjOOAQDBC8wLQIUTDMZiy9E9buJoePGCdCDg5BwYvsCFQ
DQGyevsV2OfRgF9ol%2fQJKRj9l%214Q%3d%3d; path=/; domain=apslidl
content-type: text/xml; charset=utf-8
content-length: 675
accept: text/xml
sap-srt_id: 20090526/110743/v1.00_final_6.40/DE49D4AA07D6C6F1BC1E000C29A9F676
server: SAP Web Application Server (1.0;700)
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><s oap-env:Header></soap-env:Header><soap-env:Body><soap-env:Fault><faultcode>soap-
env:Server</faultcode><faultstring xml:lang="en">SRT: Unsupported xstream found:
("HTTP Code 200 : OK")</faultstring><detail><ns:SystemFault xmlns:ns="http://w
ww.sap.com/webas/710/soap/runtime/abap/fault/system/"><Host>undefined</Host><Com
ponent>COREMSG</Component><ChainedException><Exception_Name>CX_SOAP_CORE</Except
ion_Name><Exception_Text>SRT: Unsupported xstream found: ("HTTP Code 200 : OK")
</Exception_Text></ChainedException></ns:SystemFault></detail></soap-env:Fault><
/soap-env:Body></soap-env:Envelope>hi
the error message comes if I use this tool http://curl.haxx.se/
When I use this tool I dont get an error. http://www.eviware.com/
To sum up:
What do you thing what the error causes ?
- the wsdl format is not correct
- you are saying "just compare the two clients"
what can I compare with them
Regards
ertas -
How to send a HTTP request to servlet in java application
I'm new in Java. I need to send a HTTP request with parameters to servlet in a java aplication. Here is my code. It can be compiled but always threw an exceptions when I ran it. Can anyone help?
package coreservlets;
import java.io.*;
import java.net.*;
public class PostHTTP
public static void main(String args[])
throws IOException, UnknownHostException {
try
// URL and servlet
URL myURL = new URL("http://pc076/servlet/coreservlets.OffHold");
URLConnection c = myURL.openConnection();
c.setUseCaches(false);
c.setDoOutput(true);
ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
PrintWriter out = new PrintWriter(byteStream, true);
//parameters
String postData = "REASON_CODE=3B&RSPCODE=JSmith&CASENUM=NA795401&REPLY=123&SOURCE=XYZ&REPLYLINK=http://pc076/servlet/coreservlets.ShowParameters";
out.print(postData);
out.flush();
String lengthString = String.valueOf(byteStream.size());
c.setRequestProperty("Content-Length", lengthString);
c.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
byteStream.writeTo(c.getOutputStream());
BufferedReader in = new BufferedReader(new InputStreamReader
(c.getInputStream()));
String line;
//String linefeed = "\n";
//resultsArea.setText("");
while((line = in.readLine()) != null) {
System.out.println(line);
//resultsArea.append(linefeed);
catch(IOException ioe) {
// Print debug info in Java Console
System.out.println("IOException: " + ioe);here are some updates to your code I haven't tested it running
post again if you still have trouble
URL myURL = new URL("http://pc076/servlet/coreservlets.OffHold");
HttpURLConnection c = (HttpURLConnection)myURL.openConnection();
c.setDoInput(true);
c.setDoOutput(true);
ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
String lengthString = String.valueOf(byteStream.size());
c.setRequestProperty("Content-Length", lengthString);
c.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
PrintWriter out = new PrintWriter(byteStream, true);
//parameters
String postData = "REASON_CODE=3B&RSPCODE=JSmith&CASENUM=NA795401&REPLY=123&SOURCE=XYZ&REPLYLINK=http://pc076/servlet/coreservlets.ShowParameters";
out.print(postData);
out.flush();
byteStream.writeTo(c.getOutputStream());
// connect
c.connect();
BufferedReader in = new BufferedReader(new InputStreamReader
(c.getInputStream()));
String line;
while((line = in.readLine()) != null)
System.out.println(line); -
How to send Text HTTP Body in sender Http post to proxy .
Hi Exeperts,
I have a scenario http post to proxy scenario. where i need to send Text HTTP Body using http sender.receiver side i am having proxy.
Please let us know what are the configuration i need to take at sender side and receiver side .
Regards
Ravinder.sHi,
1.If you have any xsl code or java code please share .
You need Java (or ABAP), not parsing the input, creating xml.
2. my client is using dual stack abap/java.
Your desicion to use Java or ABAP. From my point of view ABAP is easier, but it depends or your experience.
3.please share the any udf for map the string to the target side?
An UDF is part of a Message Mapping. Does not work here.
4. i already developed the proxy code.
That s a good start
/Udo -
WSRM messages stuck in PI with HTTP code:403 forbidden
Hi Guys,
We have interface from FILE to WS where file is being sent from third party system to ECC in which we are facing issue.
This service uses HTTPS protocol and while creating the binding in ECC SOAMANAGER we have used communication security as "SSL over HTTP" whereelse in HTTP portocol "none" is selected.
I have tested the wsdl url in browser and is working fine but while sending the message it throwing HTTP code: 403 forbidden error.
Can you help me to resolve this issue?
Thanks
AkiHI,
I have tested the wsdl url in browser and is working fine but while sending the message it throwing HTTP code: 403 forbidden error.
Can you help me to resolve this issue?
HTTP code: 403 forbidden error might occur The server understood the request, but is refusing to fulfill it
Path sap/xi/engine not active
u2022 HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
u2022 Because of Inactive Services in ICF u2013Go to SICF transaction and activate the services. Refer SAP Note -517484
u2022 Error in RWB/Message Monitoring- because of J2EE roles u2013 Refer SAP Note -796726
u2022 Error in SOAP Adapter - "403 Forbidden" from the adapter's servlet. u2013Because of the URL is incorrect or the adapter is not correctly deployed.
regards,
ganesh. -
Hi, everyone,
I'm developing a plug-in for inDesign CS2 4.0.2. This plug-in is running on the client side. It requires such a functionality as sending an http request to the server side. Then the server side will response to this request by making an action to SPS portal site and return the result through web service.
Could anyone like to tell me what is the right way for me to implement above functionality. Any suggestion is appreciation.
You may contact me by any mean of the following:
JackLin
SunSourcing (Hangzhou)
http://www.sunsourcing.com
http://www.sunyard.com
Office: +86-571-56686136
FAX: +86-571-56686660
Mobile: +86-13957139071
QQ: 280196343
Email: [email protected](Business), [email protected](Personal)
MSN: [email protected]Dear Eugenio Andres and Jackeen,
Thanks a lot for your help. Could you please give me some advices on how to code independent of platform. I need my program run both on windows and macintosh. I suppose there's a way to finish my above task using cross platform soap related c++ classes. Is it right?
Looking forward to your response.
JackLin
SunSourcing (Hangzhou)
http://www.sunsourcing.com
http://www.sunyard.com
Office: +86-571-56686136
FAX: +86-571-56686660
Mobile: +86-13957139071
QQ: 280196343
Email: [email protected](Business), [email protected](Personal)
MSN: [email protected] -
Plz send me the code of interctive ALV report
Hi
plz send me the code of interctive ALV report
thanks in advance
rachuHi
<u><b>For More alv report examples check these Tcodes <i>LIBS, BIBS</i>Here u can find more number of examples on alv reports of different kinds</b></u>
Check this sample code
TYPE-POOLS: SLIS.
*type declaration for values from ekko
TYPES: BEGIN OF I_EKKO,
EBELN LIKE EKKO-EBELN,
AEDAT LIKE EKKO-AEDAT,
BUKRS LIKE EKKO-BUKRS,
BSART LIKE EKKO-BSART,
LIFNR LIKE EKKO-LIFNR,
END OF I_EKKO.
DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
WA_EKKO TYPE I_EKKO.
*type declaration for values from ekpo
TYPES: BEGIN OF I_EKPO,
EBELN LIKE EKPO-EBELN,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
MENGE LIKE EKPO-MENGE,
MEINS LIKE EKPO-MEINS,
NETPR LIKE EKPO-NETPR,
END OF I_EKPO.
DATA: IT_EKPO TYPE STANDARD TABLE OF I_EKPO INITIAL SIZE 0,
WA_EKPO TYPE I_EKPO .
*variable for Report ID
DATA: V_REPID LIKE SY-REPID .
*declaration for fieldcatalog
DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
DATA: IT_LISTHEADER TYPE SLIS_T_LISTHEADER.
* declaration for events table where user comand or set PF status will
* be defined
DATA: V_EVENTS TYPE SLIS_T_EVENT,
WA_EVENT TYPE SLIS_ALV_EVENT.
* declartion for layout
DATA: ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.
* declaration for variant(type of display we want)
DATA: I_VARIANT TYPE DISVARIANT,
I_VARIANT1 TYPE DISVARIANT,
I_SAVE(1) TYPE C.
*PARAMETERS : p_var TYPE disvariant-variant.
*Title displayed when the alv list is displayed
DATA: I_TITLE_EKKO TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED'.
DATA: I_TITLE_EKPO TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED'.
INITIALIZATION.
V_REPID = SY-REPID.
PERFORM BUILD_FIELDCATLOG.
PERFORM EVENT_CALL.
PERFORM POPULATE_EVENT.
START-OF-SELECTION.
PERFORM DATA_RETRIEVAL.
PERFORM BUILD_LISTHEADER USING IT_LISTHEADER.
PERFORM DISPLAY_ALV_REPORT.
*& Form BUILD_FIELDCATLOG
* Fieldcatalog has all the field details from ekko
FORM BUILD_FIELDCATLOG.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'EBELN'.
WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'AEDAT'.
WA_FIELDCAT-SELTEXT_M = 'DATE.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'BUKRS'.
WA_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'BUKRS'.
WA_FIELDCAT-SELTEXT_M = 'DOCMENT TYPE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKKO'.
WA_FIELDCAT-FIELDNAME = 'LIFNR'.
WA_FIELDCAT-NO_OUT = 'X'.
WA_FIELDCAT-SELTEXT_M = 'VENDOR CODE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. "BUILD_FIELDCATLOG
*& Form EVENT_CALL
* we get all events - TOP OF PAGE or USER COMMAND in table v_events
FORM EVENT_CALL.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = V_EVENTS
* EXCEPTIONS
* LIST_TYPE_WRONG = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "EVENT_CALL
*& Form POPULATE_EVENT
* Events populated for TOP OF PAGE & USER COMAND
FORM POPULATE_EVENT.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'TOP_OF_PAGE'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-FORM.
ENDIF.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'USER_COMMAND'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-NAME.
ENDIF.
ENDFORM. "POPULATE_EVENT
*& Form data_retrieval
* retreiving values from the database table ekko
FORM DATA_RETRIEVAL.
SELECT EBELN AEDAT BUKRS BSART LIFNR FROM EKKO INTO TABLE IT_EKKO.
ENDFORM. "data_retrieval
*& Form bUild_listheader
* text
* -->I_LISTHEADEtext
FORM BUILD_LISTHEADER USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA HLINE TYPE SLIS_LISTHEADER.
HLINE-INFO = 'this is my first alv pgm'.
HLINE-TYP = 'H'.
ENDFORM. "build_listheader
*& Form display_alv_report
* text
FORM DISPLAY_ALV_REPORT.
V_REPID = SY-REPID.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = V_REPID
* I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_GRID_TITLE = I_TITLE_EKKO
* I_GRID_SETTINGS =
* IS_LAYOUT = ALV_LAYOUT
IT_FIELDCAT = I_FIELDCAT[]
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* i_default = 'ZLAY1'
I_SAVE = 'A'
* is_variant = i_variant
IT_EVENTS = V_EVENTS
TABLES
T_OUTTAB = IT_EKKO
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "display_alv_report
*& Form TOP_OF_PAGE
* text
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER
* i_logo =
* I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
* text
* -->R_UCOMM text
* -->, text
* -->RS_SLEFIELDtext
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN '&IC1'.
READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
PERFORM BUILD_FIELDCATLOG_EKPO.
PERFORM EVENT_CALL_EKPO.
PERFORM POPULATE_EVENT_EKPO.
PERFORM DATA_RETRIEVAL_EKPO.
PERFORM BUILD_LISTHEADER_EKPO USING IT_LISTHEADER.
PERFORM DISPLAY_ALV_EKPO.
ENDCASE.
ENDFORM. "user_command
*& Form BUILD_FIELDCATLOG_EKPO
* text
FORM BUILD_FIELDCATLOG_EKPO.
WA_FIELDCAT-TABNAME = 'IT_EKPO'.
WA_FIELDCAT-FIELDNAME = 'EBELN'.
WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_EKPO'.
WA_FIELDCAT-FIELDNAME = 'EBELP'.
WA_FIELDCAT-SELTEXT_M = 'LINE NO'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-SELTEXT_M = 'MATERIAL NO.'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MENGE'.
WA_FIELDCAT-SELTEXT_M = 'QUANTITY'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'MEINS'.
WA_FIELDCAT-SELTEXT_M = 'UOM'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'I_EKPO'.
WA_FIELDCAT-FIELDNAME = 'NETPR'.
WA_FIELDCAT-SELTEXT_M = 'PRICE'.
APPEND WA_FIELDCAT TO I_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. "BUILD_FIELDCATLOG_EKPO
*& Form event_call_ekpo
* we get all events - TOP OF PAGE or USER COMMAND in table v_events
FORM EVENT_CALL_EKPO.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = V_EVENTS
* EXCEPTIONS
* LIST_TYPE_WRONG = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "event_call_ekpo
*& Form POPULATE_EVENT
* Events populated for TOP OF PAGE & USER COMAND
FORM POPULATE_EVENT_EKPO.
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'TOP_OF_PAGE'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-FORM.
ENDIF.
ENDFORM. "POPULATE_EVENT
*& Form TOP_OF_PAGE
* text
FORM F_TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER
* i_logo =
* I_END_OF_LIST_GRID =
ENDFORM. "TOP_OF_PAGE
*& Form USER_COMMAND
* text
* -->R_UCOMM text
* -->, text
* -->RS_SLEFIELDtext
*retreiving values from the database table ekko
FORM DATA_RETRIEVAL_EKPO.
SELECT EBELN EBELP MATNR MENGE MEINS NETPR FROM EKPO INTO TABLE IT_EKPO.
ENDFORM.
FORM BUILD_LISTHEADER_EKPO USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
DATA: HLINE1 TYPE SLIS_LISTHEADER.
HLINE1-TYP = 'H'.
HLINE1-INFO = 'CHECKING PGM'.
ENDFORM.
FORM DISPLAY_ALV_EKPO.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = V_REPID
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
I_GRID_TITLE = I_TITLE_EKPO
* I_GRID_SETTINGS =
* IS_LAYOUT =
IT_FIELDCAT = I_FIELDCAT[]
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT =
I_SAVE = 'A'
* IS_VARIANT =
IT_EVENTS = V_EVENTS
TABLES
T_OUTTAB = IT_EKPO
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
Try this links...
http://www.****************/Tutorials/ALV/ALVMainPage.htm
Simple ALV report
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
ALV
1. Please give me general info on ALV.
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
2. How do I program double click in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=23010
3. How do I add subtotals (I have problem to add them)...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
4. How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
5. How to print page number / total number of pages X/XX in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477
7. How can I set the cell color in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=52107
8. How do I print a logo/graphics in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=81149
http://www.sapfans.com/forums/viewtopic.php?t=35498
http://www.sapfans.com/forums/viewtopic.php?t=5013
9. How do I create and use input-enabled fields in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=84933
http://www.sapfans.com/forums/viewtopic.php?t=69878
10. How can I use ALV for reports that are going to be run in background?
http://www.sapfans.com/forums/viewtopic.php?t=83243
http://www.sapfans.com/forums/viewtopic.php?t=19224
11. How can I display an icon in ALV? (Common requirement is traffic light icon).
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512
12. How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
Reward all helpful answers
Regards
Pavan
Message was edited by:
Pavan praveen -
Hi,
I want to send an http request with a string(this is an xml string)which will give me a response which contains an xml string again.Can anybody tell me how can i do it in java.Any sample code will be a great help
thanks in advance.This is a example, hope to be useful for you.
String xml = "<?xml version="1.0" encoding="GBK"?>"
+ "<operation_info>"
+ "<request_code>11000008</request_code>"
+ "<id_number>13148709165</id_number>"
+ "<id_type>2</id_type>"
+ "<session_id>100000002226</session_id>"
+ "<device_uid>100000000005</device_uid>"
+ "</operation_info>";
String http_url = "http://127.0.0.1:8888/protocol";
URL sendUrl = new URL(http_url);
URLConnection urlCon = sendUrl.openConnection();
urlCon.setDoOutput(true);
urlCon.setDoInput(true);
HttpURLConnection httpConnection = (HttpURLConnection) urlCon;
httpConnection.setRequestMethod("POST");
httpConnection.setRequestProperty("Content-Type", "text/xml;charset=GBK");
httpConnection.setRequestProperty("Content-Length", Integer.toString(xml.length()));
PrintStream ps=null;
try {
ps = new PrintStream(httpConnection.getOutputStream());
}catch(java.net.ConnectException e){
e.printStackTrace();
return "error"; ;
xml = URLEncoder.encode(xml);
try{
ps.write(xml.getBytes());
ps.flush();
//get response stream
String str = httpConnection.getResponseMessage();
InputStream is = httpConnection.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
str = "";
StringBuffer sb = new StringBuffer();
while ((str = br.readLine())!=null) {
sb.append(str);
is.close();
return sb.toString();
}catch(Exception e){
e.printStackTrace();
return "error"; //exception
} -
i am using systec usbmodule1 to send and receive CAN messages , is any one have tried this in labview?, if yes can you send me the code
thanks
Solved!
Go to Solution.Hey,
All of our CAN drivers have been written for National Instruments' CAN hardware (referenced here : http://digital.ni.com/public.nsf/allkb/E2C6ED025C798C5586256F4E00520448 ). Thus, you will have to code all your communication manually, unless Systec provides a LabVIEW driver. There might be various dll files that Systec provides for communication, which you will be able to access through LabVIEW. Take a look at the Call Library Function Node, which can be found from the Functions Palette under Connectivity -> Libraries & Executables. Here you can call a dll file, and also the individual functions within that dll.
I would suggest posting your question either to the LabVIEW forum, as previously mentioned, or to the CAN forum found here : http://forums.ni.com/ni/board?board.id=30
Justin E
National Instruments R&D -
Hi I have put money on my apple account and since it's my first time using it I have to answer my security question but I don't remember the answer and when I go forgot answer they send you a code to your email but I have also forgotten my email password.
Reset Security Questions
http://support.apple.com/kb/HT5312
If you can't solve problem, call Apple to help reset your Security Question.
http://support.apple.com/kb/HT5699
Maybe you are looking for
-
Power Mac G5 Hard Drive Dead?
So the other day I tried to format my internal hard drive using my leopard server install disk that I bought for my power mac but I got the error Resource Busy. Then I used my Tiger install disk to format the drive and got the error Input/Output erro
-
Having stuttering problems with my setup, I have rn104 with blu-ray iso files, router is linksys wrt1900ac and media player is kdlinks a300 with gigabit port. Running all cat6 cabling. trying to narrow down whats causing media player to stutter. Als
-
Imbed Date Function????
Hi, I am having trouble with a date function in Oracle Administrator. How do I make max_date a condition (for a case statement)? I am trying to return a value (a ranking) for the most recent ranking date. Ie: Case When Date = Max --I know you can use
-
Hi, I am seeking for information about masters / transactions which are reuired to be uplaoded during migration into SAP. In fact, trying to have a document about "Baan to SAP Migration" or "SAP Data Migration" document which can tell me data which
-
Hi , Can anyone please explain me the differences between application adapters and Technical adapters? How they are categorized and how to decide when to use which adapter? Thanks in advance.