Sending HTTP/AS2 from BT to non-BT site returns 500 error.
I have tested this internally, everything works fine within BizTalk, the remote receiving site uses Cleo and returns a 500 HTTP error... What can I look at/Any known issue?
BT2013 - No Ack's/997's .
Thanks
Bico Bielich
From Microsoft HTTP Status code :
The HTTP status code in IIS 7.0, IIS 7.5, and IIS 8.0
5XXX- HTTP status codes indicate that the server cannot complete the request because the server encounters an error.
Its really very difficult to get the root cause for HTTP error status code 500 .There can be various reason starting from data contract to IIS misconfiguration and Biz Talk misconfiguration as well.
There is a similar post were you can follow were there was issue with receive location on the VDI .
AS2 EDI -- Http 500 error
I would suggest to enable IIS tracing and use Microsoft Network Monitor tool to see how packets are send and received from the destination system.
Enable IIS Tracing for Troubleshoot
Download Microsoft Network Monitor tool
Thanks
Abhishek
Similar Messages
-
When sending html mail from ocfo or direct telnet smtp_in returns an error
<lots of markup/>
......<snip>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>
500 5.6.0 Data command failed: too many headers
550 5.7.1 Closing connection
Connection closed by foreign host.
Has anyone seen this problem? I get the feeling that smtp_in is counting every html tag as a header, should I increase the "Maximum Number of Headers Allowed in a Message" parameter in smtp_in to fix this problem? If so what might be a reasonable setting? I increased it from 1000 to 2500 but could not get a particular email to send. Small amounts of HTML send ok.
thanks!OK, I think I have narrowed this to a problem somewhere between the listener and SMTP_IN. This problem only occurs when using SMTP over SSL. I switched my two SMTP_IN processes, I made the non-SSL into SSL and vice-versa. The problem followed the process with the SSL configuration. I have no idea what in the listener configuration (or the smtp_in config as its shown through em) could caused this kind of problem. Small html mails with basic markup in them work fine over SMTP SSL, but big html mails with lots of nasty markup alway fail, they just stay in the outbox and then ofco needs several folder refreshes (or restart) in order to be able to again view any of the "mail" type folders (imap).
Thunderbird also has these symptoms minus the need to refresh/restart after a failed html mail sending attempt.
Anyone seen/seeing anything like this? -
I have used Oracle 9i server (9.2.0.1 version) on Windows XP machine(with SP2).I want to send Email from PL/SQL procedure.
My Question is what sort of configuration needed to perform this activity?
I have installed IIS (Internet Information Service)
in my machine, then configure my SMTP mail server
with a valid email id and password given TCP port 465.
Later I came to know that to send Email from PL/SQL I have to install Oracle JServer Code. Follow three steps. the steps are
1. Execute the script as sys "$ORACLE_HOME\javavm\install\initjvm.sql"
2. Execute the loadjava classfile as
$ORACLE_HOME\plsql\jlib>loadjava -f -v -r -u sys/**** plsql.jar
3. Execute the script as sys "$ORACLE_HOME\rdbms\admin\initplsj.sql"
I sucessfully executed the first step, but for the second step iam not able to locate the plsql.jar file in the specified path.
So Please tell me if there is any other method to perform this task
My code is as follows.
CREATE OR REPLACE PROCEDURE SEND_MAIL (
msg_to varchar2,
msg_subject varchar2,
msg_text varchar2
IS
c utl_smtp.connection;
rc integer;
msg_from varchar2(50) := '[email protected]';
mailhost VARCHAR2(30) := 'mail.google.com';
BEGIN
c := utl_smtp.open_connection(mailhost, 465);
utl_smtp.helo(c, mailhost);
utl_smtp.mail(c, msg_from);
utl_smtp.rcpt(c, msg_to);
dbms_output.put_line(' Start Sending data');
utl_smtp.data(c,'From: Oracle Database' || utl_tcp.crlf ||
'To: ' || msg_to || utl_tcp.crlf ||
'Subject: ' || msg_subject ||
utl_tcp.crlf || msg_text);
dbms_output.put_line(' Finish Sending data');
utl_smtp.quit(c);
EXCEPTION
WHEN UTL_SMTP.INVALID_OPERATION THEN
dbms_output.put_line(' Invalid Operation in Mail attempt using UTL_SMTP.');
WHEN UTL_SMTP.TRANSIENT_ERROR THEN
dbms_output.put_line(' Temporary e-mail issue - try again');
WHEN UTL_SMTP.PERMANENT_ERROR THEN
dbms_output.put_line(' Permanent Error Encountered.');
END;
Procedure Created.
SQL> execute prc_send_mail('[email protected]','[email protected]','Good Morning.');
BEGIN prc_send_mail('[email protected]','[email protected]','Good Morning.'); END;
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 17
ORA-06512: at "SYS.UTL_SMTP", line 96
ORA-06512: at "SYS.UTL_SMTP", line 374
ORA-06512: at "SCOTT.PRC_SEND_MAIL", line 19
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at line 1.
Please tell me how to solve this problem.
Thank You.1) Why did you install an SMTP server locally and then tell your code to try to use the server mail.google.com?
2) The error you're getting is from mail.google.com indicating that Google isn't running an open SMTP server there. I would be very surprised if Google were running a publicly available SMTP server anywhere since that would be an invitation for spammers.
Justin -
HTTPS connection from emulator
Hello friends,
I want to send https request from emulator from my application..
when I am trying to send HTTPS request from emulator(wtk22's default emulator) it gives error
javax.microedition.io.ConnectionNotFoundException: TCP open
at com.sun.midp.io.j2me.socket.Protocol.connect(+99)
at com.sun.midp.io.ConnectionBaseAdapter.openPrim(+52)
at com.sun.midp.io.j2me.socket.Protocol.openPrim(+108)
at com.sun.midp.io.ConnectionBaseAdapter.openPrim(+14)
at com.sun.midp.io.ConnectionBaseAdapter.openPrim(+8)
at com.sun.midp.io.j2me.https.Protocol.connect(+167)
at com.sun.kvem.io.j2me.https.Protocol.connect(+4)
at com.sun.midp.io.j2me.http.Protocol.streamConnect(+57)
at com.sun.kvem.io.j2me.https.Protocol.streamConnect(+4)
at com.sun.midp.io.j2me.http.Protocol.startRequest(+12)
at com.sun.midp.io.j2me.http.Protocol.sendRequest(+38)
at com.sun.midp.io.j2me.http.Protocol.sendRequest(+6)
at com.sun.midp.io.j2me.http.Protocol.getResponseCode(+8)
at bd.a(+97)
at cj.run(+155)
XML Response: null
* Application is working fine on device/Mobile.......i.e.from mobile i can send https request successfully ...*
so wts the problem with emulator...can anybody help me?
Thanks in advance
Regards,
ParagCould you explain how transport protocol influences certificate exchange during SSL session?
-
Error log on http request from business connector (BC)
Hi all,
We are sending http requests from our business connector to one client but the messages keep having log errors :
server.log details :
003C24 [B2BCORE.0064.0014] Opening Socket https://www.qab2b.xxx.com:443/invoke/wm.b2b.cxml:receiveCXML proxy=10.28.38.27:80
003C25 [B2BCORE.0038.0002] --> CONNECT www.qab2b.xxx.com:443 HTTP/1.0
003C26 [B2BCORE.0038.0002] --> User-Agent: Mozilla/4.0 [en] (WinNT; I)
003C27 [B2BCORE.0038.0002] --> Accept: image/gif, /
003C28 [B2BCORE.0038.0002] --> Host: www.qab2b.xxx.com:443
003C29 [B2BCORE.0038.0002] --> Proxy-Authorization: Basic YWJ1c2luZXNzY29ubmVjdG9yOmFidXNpbjA0
003C2A [B2BCORE.0038.0002] --> Authorization: Basic U0ZSQ2VnZXRlbDoyMDA3KkVBSV9TRlI=
003C2B [B2BCORE.0038.0002] > Content-type: multipart/mixed; boundary="--=_Part_0_1941981.1219399983635"
003C2C [B2BCORE.0038.0002] --> Message-ID: <7159395.1219399983666.JavaMail.SYSTEM@sw0030>
003C2D [B2BCORE.0038.0002] --> Mime-Version: 1.0
003C2E [B2BCORE.0040.0001] HTTP/1.1 200
003C2F [B2BCORE.0064.0017] Proxy Header <--Connection established
003C30 [B2BCORE.0038.0002] --> POST /invoke/wm.b2b.cxml:receiveCXML HTTP/1.0
003C31 [B2BCORE.0038.0002] --> User-Agent: Mozilla/4.0 [en] (WinNT; I)
003C32 [B2BCORE.0038.0002] --> Accept: image/gif, /
003C33 [B2BCORE.0038.0002] --> Host: www.qab2b.xxx.com:443
003C34 [B2BCORE.0038.0002] --> Proxy-Authorization: Basic YWJ1c2luZXNzY29ubmVjdG9yOmFidXNpbjA0
003C35 [B2BCORE.0038.0002] --> Authorization: Basic U0ZSQ2VnZXRlbDoyMDA3KkVBSV9TRlI=
003C36 [B2BCORE.0038.0002] > Content-type: multipart/mixed; boundary="--=_Part_0_1941981.1219399983635"
003C37 [B2BCORE.0038.0002] --> Message-ID: <7159395.1219399983666.JavaMail.SYSTEM@sw0030>
003C38 [B2BCORE.0038.0002] --> Mime-Version: 1.0
003C39 [B2BCORE.0038.0002] --> Content-Length: 188225
003C3A [B2BCORE.0040.0001] HTTP/1.0 200
003C3B [B2BCORE.0041.0001] ssnid=86087kPxFCsECcmXU5DHUAInKY9mEIIU-9355222; path=/;
003C3C [B2BCORE.0038.0002] <-- Set-Cookie: ssnid=86087kPxFCsECcmXU5DHUAInKY9mEIIU-9355222; path=/;
003C3D [B2BCORE.0038.0002] <-- Content-Type: multipart/mixed; boundary="----=_Part_0_1941981.1219399983635"
003C3E [B2BCORE.0038.0002] <-- Connection: Close
003C3F [B2BCORE.0038.0002] <-- Content-Length: 0
003C40 [B2BCORE.0049.0008] Sequence : index=8 depth=3
003C41 [B2BCORE.0049.0008] Sequence : index=6 depth=2
003C42 [B2BCORE.0049.0008] Sequence : index=1 depth=3
003C43 [B2BCORE.0049.0005] Invoke : index=1 depth=4
003C44 [B2BCORE.0049.0008] Sequence : index=2 depth=3
003C45 [B2BCORE.0049.0005] Invoke : index=1 depth=4
003C46 [B2BCORE.0049.0008] Sequence : index=3 depth=3
003C47 [B2BCORE.0049.0005] Invoke : index=1 depth=4
003C48 [B2BSERV.0048.9999] Array index out of range: -1
003C49 [B2BCORE.0049.0008] Sequence : index=4 depth=3
003C4A [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedStatusCode(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@code(0)
003C4B [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedMessage(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/*body(0)
003C4C [B2BCORE.0050.0004] Copy failed: (Simple) No source data available: to=/returnedText(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@text(0)
003C4D [B2BCORE.0049.0008] Sequence : index=5 depth=3
003C4E [B2BCORE.0049.0008] Sequence : index=6 depth=3
003C4F [B2BCORE.0049.0008] Sequence : index=7 depth=2
003C50 [B2BCORE.0049.0008] Sequence : index=2 depth=1
003C51 [B2BSERV.0056.0003] Unable to send mail. Illegal address
error java log on server>logs>error:
2008-08-22 12:16:33 CEST java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
at com.wm.util.List.elementAt(List.java:101)
at com.wm.lang.xml.token.BlockInputBuffer.getChar(BlockInputBuffer.java:59)
at com.wm.lang.xml.TextNode.appendSqueezedText(TextNode.java:178)
at com.wm.lang.xml.ElementNode.appendSqueezedText(ElementNode.java:333)
at com.wm.lang.xml.ElementNode.getTextOfChildren(ElementNode.java:309)
at com.wm.lang.xml.Document.getTextOfChildren(Document.java:542)
at com.wm.app.b2b.services.DocumentToRecordService.recursiveCollect(DocumentToRecordService.java:661)
at com.wm.app.b2b.services.DocumentToRecordService.bind(DocumentToRecordService.java:356)
at pub.web.documentToRecord(web.java:667)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
at com.wm.lang.flow.FlowState.step(FlowState.java:430)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:392)
at wm.PartnerMgr.gateway.transport.B2B.OutboundProcess(B2B.java:157)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
at com.wm.lang.flow.FlowState.step(FlowState.java:430)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:464)
at wm.PartnerMgr.gateway.runtime.InboundProcess(runtime.java:423)
at pub.sap.transport.RFC.InboundProcess(RFC.java:190)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:693)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:455)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:495)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:464)
at com.wm.pkg.sap.rfc.Listener.handleRequest(Listener.java:286)
at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:6022)
at com.sap.mw.idoc.jco.JCoIDoc$Server.dispatchRequest(JCoIDoc.java:10120)
at com.wm.pkg.sap.rfc.Listener.dispatchRequest(Listener.java:186)
at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1070)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:5797)
at com.sap.mw.jco.JCO$Server.run(JCO.java:5731)
at com.wm.pkg.sap.rfc.Listener.run(Listener.java:101)
at java.lang.Thread.run(Thread.java:479)
Thanks for your support on this eai.
Regards,
Laurent.ok, I think we do not need the save/loadPipeline things, because you can debug the flow without that. I first thought you act as HTTP server, but you issue the client call in the flow itself.
Looking at the logs more carefully, it shows for example:
Copy failed: (Simple) No source data available: to=/returnedStatusCode(0), from=/returnHttp(0)/cXML(0)/Response(0)/Status(0)/@code(0)
But you say have that input:
<?xml version="1.0"?>
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.011/cXML.dtd">
<cXML version="1.2.011" payloadID="20080825171850716.18637uTQ9ExzheaK+H6b7O9oCAQWPzHA-9355222.8b3632def70da7220004d0b6" timestamp="2008-08-25T17:18:50-CEST">
<Response>
<Status code="500">No cXML document received from sender.</Status>
</Response>
</cXML>
So we see that your mappings assumptions do not match the result structure.
The other problem is that you get a status 500 and do not receive a cXML document, but that might be ok, depending on what parameters you pass to the other HTTP server. At least, you get a meaningful error message back from the server, meaning communication is ok.
I suggest you first correct those "copy failed" issues and then check by single-stepping where exactly the flow fails and check that input again.
By the way, when I feed the above cXML into recordToDocument, it works fine. Did you specify other input parameters besides "node" (e.g. recordName) ? And again, are you on Core Fix 8 ?
CSY -
Can send I messages from ipad but reply only goes to Iphone
Can send I messages from my I Pad but reply only comes to my Iphone
Your question is a bit confusing, but your iPad can only send messages to other iOS devices, such as other iPad users, iPhone users and iPod touch users who have iMessage enabled on their devices. You can not send text messages from iPad to non-Apple devices, like Android phones........
-
Hi All
i need to send an email from BSP application when check box is clicked .
I have the details such as pernr of an employeee by using this i need to retrieve email id of that employee and have to send an email to that employee with some text
1. How to retireve email id of an employee using pernr
2.How to send email from bsp application
ThanksHi ,
<b>To get the Email for the given PERNR:</b>
* Get the Communication detail from Infotype 0105
SELECT
USRID_LONG
FROM PA0105 INTO
RECEIVER_EMAIL
WHERE PERNR = PERNR AND
BEGDA <= SY-DATLO AND
ENDDA >= SY-DATLO AND
SUBTY = '0010'
<b>Look at this code which will send a email from BSP..</b>
DATA:
SEND_REQUEST TYPE REF TO CL_BCS,
DOCUMENT TYPE REF TO CL_DOCUMENT_BCS,
SENDER TYPE REF TO CL_SAPUSER_BCS,
RECIPIENT TYPE REF TO IF_RECIPIENT_BCS,
EXCEPTION_INFO TYPE REF TO IF_OS_EXCEPTION_INFO,
BCS_EXCEPTION TYPE REF TO CX_BCS,
WA_MESSAGE TYPE BAPIRET2.
DATA:
LEN TYPE I,
TEXTLENGTH TYPE SO_OBJ_LEN,
ITAB_MESSAGE TYPE SOLI_TAB,
WA_SOLI TYPE SOLI.
*Load class defnitions
CLASS CL_CAM_ADDRESS_BCS DEFINITION LOAD.
CLASS CL_ABAP_CHAR_UTILITIES DEFINITION LOAD.
* Create persistent send request
TRY.
SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
* Format the message content to be sent into internal table
IF NOT MESSAGE IS INITIAL.
WA_SOLI-LINE = MESSAGE.
APPEND WA_SOLI TO ITAB_MESSAGE.
ELSE.
WA_MESSAGE-MESSAGE = `Enter some Message and then Click "Send Your Message" button.`.
APPEND WA_MESSAGE TO RETURN.
ERROR = 'X'.
RETURN.
ENDIF.
LEN = STRLEN( MESSAGE ).
TEXTLENGTH = LEN.
* Create document
CALL METHOD CL_DOCUMENT_BCS=>CREATE_DOCUMENT
EXPORTING
I_TYPE = 'RAW'
I_SUBJECT = SUBJECT
I_LENGTH = TEXTLENGTH
I_TEXT = ITAB_MESSAGE
RECEIVING
RESULT = DOCUMENT.
* Add document to send request
CALL METHOD SEND_REQUEST->SET_DOCUMENT
EXPORTING
I_DOCUMENT = DOCUMENT.
* Get sender object
CALL METHOD CL_SAPUSER_BCS=>CREATE
EXPORTING
I_USER = SY-UNAME
RECEIVING
RESULT = SENDER.
* Add sender
CALL METHOD SEND_REQUEST->SET_SENDER
EXPORTING
I_SENDER = SENDER.
* Create recipient
CALL METHOD CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS
EXPORTING
I_ADDRESS_STRING = RECEIVER
RECEIVING
RESULT = RECIPIENT.
* Add recipient with its respective attributes to send request
CALL METHOD SEND_REQUEST->ADD_RECIPIENT
EXPORTING
I_RECIPIENT = RECIPIENT
I_EXPRESS = ' '
I_COPY = ' '
I_BLIND_COPY = ' '.
SEND_REQUEST->SET_SEND_IMMEDIATELY( 'X' ).
* Send document
CALL METHOD SEND_REQUEST->SEND
RECEIVING
RESULT = SENT.
IF SENT IS NOT INITIAL.
COMMIT WORK.
WA_MESSAGE-MESSAGE = 'Your Message sent Successfully!!!'.
APPEND WA_MESSAGE TO RETURN.
ELSE.
ERROR = 'X'.
WA_MESSAGE-MESSAGE = 'Your Message could not be sent. Please try again later'.
APPEND WA_MESSAGE TO RETURN.
ENDIF.
CATCH CX_ADDRESS_BCS .
CATCH CX_SEND_REQ_BCS.
CATCH CX_DOCUMENT_BCS.
WA_MESSAGE-MESSAGE = 'Your Message could not be sent. Please try again later'.
APPEND WA_MESSAGE TO RETURN.
ERROR = 'X'.
ENDTRY.
Raja T -
Hello,
I need to inject IP address of VM's guest OS residing on Hyper-V host with Windows Server 2012 R2, from the host itself
Guest OS is also Windows Server 2012 R2.
In a powershell script I use SetGuestNetworkAdapterConfiguration method (link on
MSDN). It works when the IP and default gateway are from the same subnet, but it returns an error when IP and Default Gateway are from different subnets.
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 2
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
Error : <INSTANCE CLASSNAME="Msvm_Error"><PROPERTY NAME="CIMStatusCode" TYPE="uint32"><VALUE>1</VALUE></PROPERTY><PROPERTY
NAME="CIMStatusCodeDescription" TYPE="string"></PROPERTY><PROPERTY NAME="ErrorSource" TYPE="string"></PROPERTY><PROPERTY
NAME="ErrorSourceFormat" TYPE="uint16"><VALUE>0</VALUE></PROPERTY><PROPERTY NAME="ErrorType"
TYPE="uint16"><VALUE>4</VALUE></PROPERTY><PROPERTY NAME="Message" TYPE="string"><VALUE>The operation
failed.</VALUE></PROPERTY><PROPERTY.ARRAY NAME="MessageArguments" TYPE="string"><VALUE.ARRAY></VALUE.ARRAY></PROPERTY.ARRAY><PROPERTY
NAME="MessageID" TYPE="string"><VALUE>16010</VALUE></PROPERTY><PROPERTY NAME="OtherErrorSourceFormat" TYPE="string"></PROPERTY><PROPERTY
NAME="OtherErrorType" TYPE="string"></PROPERTY><PROPERTY NAME="OwningEntity"
TYPE="string"><VALUE>Microsoft-Windows-Hyper-V-VMMS</VALUE></PROPERTY><PROPERTY NAME="PerceivedSeverity"
TYPE="uint16"><VALUE>5</VALUE></PROPERTY><PROPERTY NAME="ProbableCause" TYPE="uint16"><VALUE>0</VALUE></PROPERTY><PROPERTY
NAME="ProbableCauseDescription" TYPE="string"></PROPERTY><PROPERTY.ARRAY NAME="RecommendedActions"
TYPE="string"></PROPERTY.ARRAY></INSTANCE>
ReturnValue : 0
PSComputerName :
If I set IP address manually from guest OS, then I receive a warning window about default gateway being in another subnet than IP address, but I can choose to continue and the IP address/default gateway got configured.
However, in the parameters of SetGuestNetworkAdapterConfiguration there is no such an switch
uint32 SetGuestNetworkAdapterConfiguration(
[in] CIM_ComputerSystem REF ComputerSystem,
[in] string NetworkConfiguration[],
[out] CIM_ConcreteJob REF Job
Please advise on workaround.
Thanks,
Andrei
Andrei Moraru EndavaHi,
Please refer to the following post to see whether you can resolve the issue.
Network Adapter (not Legacy) does not work on Virtual Machine after installation through ISO
http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2virtualization/thread/b1e9d24c-e298-472e-ad72-90cf079f6fbd
By the way, did you only encounter this issue with one VM or all VMs? Please do the same test on VMs with other version of Windows such as Windows Server 2008 or Windows Server 2003.
Best Regards,
Vincent Hu -
IDOC's sending to XI from NON-SAP system
I need to send one IDOC from a NON-SAP sytem to XI. In my scenario I've configured a receiver IDOC adapter with the suitables RFC destination and Port for the SAP R/3 receiver system. We achieve this sending by using the following URL: "http://:/sap/xi/engine?type=entry" but we don´t get any message in XI. We don´t know if we are doing it properly.
Could you help me?
Thank you in advance.
Juan Pablo.Hi Juan,
Did you try the HTTP client tool that Michal gaves you?
Attention: the URL address that this tool or any other client who wants send messages via XI with http is: http://<our-server>:<http-port>/sap/xi/engine?type=entry and not -> http://<our-server>:<our-port>/sap/xi
This URL must be set on the pipeline of XI Business System (role-> Integration Server) as well on integration server configuration.
If you have http port and adapter_plain service (sifc) running it should be working!!!
Open your browser and put the Integration Engine URL http://<our-server>:<http-port>/sap/xi/engine?type=entry
If its running you should be see this soap message:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header />
- <SOAP:Body>
- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP:Client</faultcode>
<faultstring>Empty HTTP request received</faultstring>
<faultactor>http://sap.com/xi/XI/Message/30</faultactor>
- <detail>
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIProtocol</SAP:Category>
<SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Empty HTTP query received. No message processing possible</SAP:Stack>
</SAP:Error>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>[/code]
Cheers,
Ricardo.
Message was edited by: Ricardo Quintino
Message was edited by: Ricardo Quintino -
How do I send messages from iPad to non apple devices?
How do I send messages from iPad to non apple devices?
Found a good article explaning why the iPad doesn't send texts over iMessage the way you would think. Turns out that the iPad isn't a phone and doesn't use 3G or Wifi the same way a phone would so you can't really send texts from iMessage on your iPad the same way you can on your iPhone.
http://blog.chron.com/helpline/2011/12/sending-text-messages-from-an-ipad/ -
HT4623 Unable to send text message from iphone 4 to a non-iphone.
I have just bought an Iphone 4 with ios 7.1.
And when i am trying to send text message from my phone to a non-iphone devices it just showing a green (text background & loading bar), but still after some time the message was not getting delivered.
As per the apple support. I have already put +91 for all my numbers even deleted & create new contacts.
But the problem is still there.
I have also tried to change the setting for iMessage (On/Off).
So, please suggest.Thanks for getting back to me. I did understand that part, but didn't get
wheather you could reply to a message you had received. I understood that
you could not originate a new text. -
ALE: Sending IDOC inbound from non-SAP system
Hi
How does one need to setup the SAP system to accept data from an external non-SAP system. Should one setup some sort of conection to trigger an import to SAP?Hi,
On the SAP side you need to create a partner profile in T.code: WE20 of type LS. And add the message type, idoc type in the inbound parameters section of it.
And you must also specify the partner number you created here, on the IDoc control record.
This link from SAP help, will provide some addition data.
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6524507d11d18ee90000e8366fc2/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6524507d11d18ee90000e8366fc2/frameset.htm</a>
Hope this helps.
Regards,
Sumant. -
Send short message from Java application on mobile phone to server; http
Hello!
My question is: can I send short message from Java application on mobile phone to server - with the use of SMS (WMA) or http connection?
I found this topic http://forums.sun.com/thread.jspa?threadID=5405431 about: "how to send data from midlet to servlet using doPost method".
There is also such topic http://forums.sun.com/thread.jspa?threadID=5408046&tstart=0 about: "CLDC and MIDP - sending SMS to server -> Wireless Messaging API (WMA)".
Please, kindly help me.
Code from the topic mentioned above, edited by me so that it can be read easily:
//http://forums.sun.com/thread.jspa?threadID=5405431
//CLDC and MIDP - Re: how to send data from midlet to servlet using doPost method
I want to know how to pass the values .
for examples : this is what i wrote for doGet
String url = setting.getUrl().toString()"/testProServlet/servlet/UpdateCompanyProfile?userId="+loggedInUserId"&svComp="saveCompHex;
userId and svComp has the data which is very long so i wanted to use doPost.
Now i dont know how to do it.
This is what i have done in doGet (midlet)
public void saveCompanyProfile(String saveComp,int flag,String blankFieldNm)
System.out.println("flag===" flag);
if (flag==1)
displayAlert("Company Profile Edit",blankFieldNm+" field cannot be blank.",AlertType.ERROR, edCmpRecForm, true);
else
String saveCompHex = helper.encodeHexString(saveComp);
// String saveCompHex =saveComp;
HttpConnection httpConn = null;
serverSettings setting = new serverSettings();
System.out.println("saveCompHex===" saveCompHex);
String url = setting.getUrl().toString()"/testProServlet/servlet/UpdateCompanyProfile?userId="loggedInUserId"&svComp="saveCompHex;
System.out.println("url of save company profile:: "+url);
InputStream is = null;
OutputStream os = null;
try {
// Open an HTTP Connection object
httpConn = (HttpConnection) Connector.open(url);
System.out.println("urlMidlet1 save edited company data===::" url.length());
// Setup HTTP Request
httpConn.setRequestMethod(HttpConnection.POST);
httpConn.setRequestProperty("User-Agent","Profile/MIDP-1.0 Confirguration/CLDC-1.0");
System.out.println("urlMidlet2===" url);
int respCode = httpConn.getResponseCode();
System.out.println("respCode edit company profile=====" respCode);
if (respCode == httpConn.HTTP_OK)
StringBuffer sb = new StringBuffer();
os = httpConn.openOutputStream();
is = httpConn.openDataInputStream();
int chr;
while ((chr = is.read()) != -1)
sb.append((char) chr);
String sResultSvCompanyProfile= sb.toString();
System.out.println("+++++++++++++Company sResult+++++++++++++==="sResultSvCompanyProfile);
if (resultViewCompanyProfile.trim().equals(""))
System.out.println("++++++++++++++If++++++++++++++SaveCompanyProfile===");
displayAlert("Login Incorrect","Username and Password incorrect", AlertType.ERROR, mainForm, true);
else
System.out.println("++++++++++++++Else++++++++++++++SaveCompanyProfile===");
//companyProfile();
displayAlert1("Information","Company Profile edited successfully", AlertType.INFO, profileMenuScreen, true);
else
System.out.println("Error in opening HTTP Connection. Error#" respCode);
//the line below divided into two lines because it was too long
displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
AlertType.ERROR, mainForm, false);
catch(IOException e)
e.getMessage();
finally {
if(is!= null)
try
is.close();
catch (IOException e)
// TODO Auto-generated catch block
e.printStackTrace();
displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
AlertType.ERROR, mainForm, false);
if(os != null)
try
os.close();
catch (IOException e)
// TODO Auto-generated catch block
e.printStackTrace();
displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
AlertType.ERROR, mainForm, false);
if(httpConn != null)
try
httpConn.close();
catch (IOException e)
// TODO Auto-generated catch block
e.printStackTrace();
displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
AlertType.ERROR, mainForm, false);
} //end finally
} //end else (?)
} //end savecompanyhi,
SMS API(WMA) is an optional package. It is not a MIDP1.0 or MIDP2.0 api's.
There are phones which has WMA api with MIDP1.0 support .... Nokia 3650
Seimens has some phone with their own api's to send sms.Check out seimens site for more info
BTW, What do you mean buy sending SMS to Server????
If you want to send message to server you can do it with Http.
HTH
phani -
Sending HTML email from outlook 2013 exchange it comes broken to non outlook clients.
Hi, when i send out email from my outlook 2013 where is configured Microsoft exchange account it comes broken to gmail clients. All html mail is broken and attachments comes like this file.jpg_ or adobe.pdf_ If i send mail to outlook user
all is good but if client uses something else , they receive broken mail.
Msg comes to gmail clients like this
http://community.office365.com/cfs-filesystemfile.ashx/__key/communityserver-components-userfiles/00-00-39-06-09-Attached+Files/4745.errror.jpg
Without signature and normal phone and email.
Client is using windows 8.1.
I started discussion here http://community.office365.com/en-us/forums/158/p/227602/704778.aspx#704778 but they sent me to your forum. You can read our discussion
and see what i did already.Hi,
Some question to help narrowing down the causes:
1. Does this issue occur when using Outlook to configure the Gmail account, does the format change?
2. Does this issue also occur when sending HTML emails to other remote domains?
If the emails is fine when opening them on Outlook, it think Exchange does not change anything on the email. The issue occurs depends on how email clients open the email.
Thanks,
Simon Wu
TechNet Community Support -
Send xml file from sap to third party url through https
Hi,
I have a requirement to send the xml file from ecc to a 3rd party url through HTTPS. How can we achieve this using ABAP.
Client doesn't have XI enviroment. The client has provided the 3rd party url where the file needs to be uploaded.
Please help ! <removed by moderator>
Thanks in advance.
Regards,
Chitra.K
Edited by: Thomas Zloch on Sep 12, 2011 12:58 PMHi Chitra,
I had similar requirement and here is what I did: -
REPORT Z_HTTP_POST_TEST_AMEY.
DATA: L_URL TYPE STRING ,
L_PARAMS_STRING TYPE STRING ,
L_HTTP_CLIENT TYPE REF TO IF_HTTP_CLIENT ,
L_RESULT TYPE STRING ,
L_STATUS_TEXT TYPE STRING ,
L_HTTP_STATUS_CODE TYPE I ,
L_HTTP_LENGTH TYPE I ,
L_PARAMS_XSTRING TYPE XSTRING ,
L_XSTRING TYPE XSTRING ,
L_IS_XML_TABLE TYPE STANDARD TABLE OF SMUM_XMLTB ,
L_IS_RETURN TYPE STANDARD TABLE OF BAPIRET2 ,
L_OUT_TAB TYPE STANDARD TABLE OF TBL1024
MOVE 'https://<hostname>/xxx/yyy/zzz' TO L_URL.
MOVE '<XML as string>' TO L_PARAMS_STRING.
*STEP-1 : CREATE HTTP CLIENT
CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL
EXPORTING
URL = L_URL
IMPORTING
CLIENT = L_HTTP_CLIENT
EXCEPTIONS
ARGUMENT_NOT_FOUND = 1
PLUGIN_NOT_ACTIVE = 2
INTERNAL_ERROR = 3
OTHERS = 4 .
"STEP-2 : AUTHENTICATE HTTP CLIENT
CALL METHOD L_HTTP_CLIENT->AUTHENTICATE
EXPORTING
USERNAME = 'testUser'
PASSWORD = 'testPassword'.
"STEP-3 : SET HTTP HEADERS
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
EXPORTING NAME = 'Accept'
VALUE = 'text/xml'.
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
EXPORTING NAME = '~request_method'
VALUE = 'POST' .
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_CONTENT_TYPE
EXPORTING CONTENT_TYPE = 'text/xml' .
"SETTING REQUEST DATA FOR 'POST' METHOD
IF L_PARAMS_STRING IS NOT INITIAL.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
TEXT = L_PARAMS_STRING
IMPORTING
BUFFER = L_PARAMS_XSTRING
EXCEPTIONS
FAILED = 1
OTHERS = 2.
CALL METHOD L_HTTP_CLIENT->REQUEST->SET_DATA
EXPORTING DATA = L_PARAMS_XSTRING .
ENDIF.
"STEP-4 : SEND HTTP REQUEST
CALL METHOD L_HTTP_CLIENT->SEND
EXCEPTIONS
HTTP_COMMUNICATION_FAILURE = 1
HTTP_INVALID_STATE = 2.
"STEP-5 : GET HTTP RESPONSE
CALL METHOD L_HTTP_CLIENT->RECEIVE
EXCEPTIONS
HTTP_COMMUNICATION_FAILURE = 1
HTTP_INVALID_STATE = 2
HTTP_PROCESSING_FAILED = 3.
"STEP-6 : Read HTTP RETURN CODE
CALL METHOD L_HTTP_CLIENT->RESPONSE->GET_STATUS
IMPORTING
CODE = L_HTTP_STATUS_CODE
REASON = L_STATUS_TEXT .
WRITE: / 'HTTP_STATUS_CODE = ',
L_HTTP_STATUS_CODE,
/ 'STATUS_TEXT = ',
L_STATUS_TEXT .
"STEP-7 : READ RESPONSE DATA
CALL METHOD L_HTTP_CLIENT->RESPONSE->GET_CDATA
RECEIVING DATA = L_RESULT .
"STEP-8 : CLOSE CONNECTION
CALL METHOD L_HTTP_CLIENT->CLOSE
EXCEPTIONS
HTTP_INVALID_STATE = 1
OTHERS = 2 .
"STEP-9 : PRINT OUTPUT TO FILE
CLEAR : L_XSTRING, L_OUT_TAB[].
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
TEXT = L_RESULT
IMPORTING
BUFFER = L_XSTRING
EXCEPTIONS
FAILED = 1
OTHERS = 2.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = L_XSTRING
TABLES
BINARY_TAB = L_OUT_TAB .
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = 'C:AMEYHTTP_POST_OUTPUT.xml'
TABLES
DATA_TAB = L_OUT_TAB .
Also, following is the detailed link for use of HTTP_CLIENT class: -
http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/1f/93163f9959a808e10000000a114084/content.htm
Also, in below link, you can ignore XI specific part and observe how its sending XML to external URL:-
(I know it describes call to SAP XI server's URL, but it can be used to call any URL)
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/ae388f45-0901-0010-0f99-a76d785e3ccc
In addition to all above, following configs to be present at ABAP application server: -
1. The hostname used to URL should be present in SAP ABAP application server's 'hosts' file.
2. Security certificate (if available) for URL to be called must be installed in SAP ABAP application server.
Let me know if you achieve any progress with it...
Maybe you are looking for
-
hello experts, I have a requirement in the project .There is a programme which creates new hire sap account in sap r/3 manully in production server .Currently this programme SKIPS INFOTYPE 105 Subtype 0001.The requirement is mentioned below.we are no
-
my ipad is in recovery mode and eveytime i go to restore and update a message comes up saying error has occured 3194
-
How to read header text from VF03 into smartfrom
Hi all, i want to print header text from vf03 in smartforms bye
-
This is my first simple test page and Iam getting always the following error. Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
-
I hope someone who knows a lot more than I do about codecs and compression can answer this question. I imported footage from my Canon XLH1 (1440 x 1080), 29.97 fps, progressive mode, tape media, MPEG-2 compression on the tape with a 4:2:0 color spac