on 05-12-2008 2:53 PM
if i call BAPI_PO_GETITEMS by web service from .net and i make a select by PURCHASEORDER all ok but i try to select by PURCH_ORG or PUR_GROUP only in GUI all oK in web servire:
Serialisation failed
in System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
in System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
in ExtranetSystemSrv.ZWEB_PO_GETITEMS.ZWEB_PO_GETITEMSService.BAPI_PO_GETITEMS(String ACCTASSCAT, String CREATED_BY, String DELETED_ITEMS, String DOC_DATE, String DOC_TYPE, String ITEMS_OPEN_FOR_RECEIPT, String ITEM_CAT, String MATERIAL, BAPIMGVMATNR MATERIAL_EVG, String MAT_GRP, String PLANT, BAPIEKKOL[]& PO_HEADERS, BAPIEKPOC[]& PO_ITEMS, String PREQ_NAME, String PURCHASEORDER, String PURCH_ORG, String PUR_GROUP, String PUR_MAT, BAPIMGVMATNR PUR_MAT_EVG, BAPIRETURN[]& RETURN, String SHORT_TEXT, String SUPPL_PLANT, String TRACKINGNO, String VENDOR, String WITH_PO_HEADERS)
in ExtranetSystemSrv.Librerie.Sap.OrdiniAcquistoUtenteDaImportare(String divisione, String ordine, String sDaTime, String sATime, String utente, String fornitore)
If SAP SOAP Serialization found a number value null not inizializate with all 00000 SAP Dump
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can not know whether the problem is .Net or sap
I send you full trace of sm59 of web service.
Trace file opened at 20080515 105729 W. Europe Daylight Time, SAP-REL 700,0
XRFC> Begin of user trace
XRFC>
XRFC> ROOT->HANDLEREQUEST() Try to handle request <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_HTTP_EXTENSION <
XRFC> ->INIT_PROCESSING() Try to init for processing <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_HTTP_EXTENSION <
XRFC> ->INIT_PROCESSING() Transport key: [0 /sap/bc/srt/rfc/sap/ZWEB <
XRFC> POGETITEMS 1] <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_HTTP_EXTENSION <
XRFC> ->INIT_PROCESSING() Request is for SOAP processing via POST method <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_HTTP_EXTENSION <
XRFC> ->INIT_PROCESSING() Initialized for processing <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_HTTP_EXTENSION <
XRFC> ->EXEC_PROCESSING() Try to execute processing <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime CL_SOAP_RUNTIME_SERVER->EXECUTE <
XRFC> _PROCESSING() Try to execute processing <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime CL_SOAP_RUNTIME_ROOT->EXECUTE_PROCESSI <
XRFC> NG() Try to get the transport context <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime CL_SOAP_RUNTIME_ROOT->EXECUTE_PROCESSI <
XRFC> NG() Have got the trasnport context <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime CL_SOAP_RUNTIME_SERVER->INIT_PROCESSIN <
XRFC> G() Try to initialize for processing <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL <
XRFC> ->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Runtime-intrinsic <
XRFC> Protocol as RECEIVER with Priority 5 <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL <
XRFC> ->INIT_MODULES() Try to create trace header/part <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL <
XRFC> ->INIT_MODULES() Trace header/part created <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL <
XRFC> ->INIT_MODULES() Try to create logging header/part <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL <
XRFC> ->INIT_MODULES() Logging header/part created <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL <
XRFC> ->IF_SOAP_PROTOCOL~INIT() Protocol initialized <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application factory CL_SOAP_APPLICATION <
XRFC> FACTORY->CREATEFOR_RUN_TIME() Try to create instance of <
XRFC> application urn:sap-com:soap:runtime:application:rfc <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application factory CL_SOAP_APPLICATION <
XRFC> FACTORY->CREATEFOR_RUN_TIME() Classname for application = <
XRFC> CL_SOAP_APPLICATION_RFC <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application factory CL_SOAP_APPLICATION <
XRFC> FACTORY->CREATEFOR_RUN_TIME() Instance of application <
XRFC> urn:sap-com:soap:runtime:application:rfc created <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT_WS() Try to initialze application <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION->IF_SOAP <
XRFC> APPLICATIONRT~INIT_WS() Initializing with WS key = [DD21035CDBA5 <
XRFC> 79F1BB30001A4B061613 2 urn:sap-com:soap:runtime:application:rfc] <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT() Try to initialze application <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION->IF_SOAP <
XRFC> APPLICATIONRT~INIT() Initializing: urn:sap-com:soap:runtime <
XRFC> :application:rfc <
XRFC> <
XRFC> INFO 10:57:25: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE() <
XRFC> Try to create instance for http://www.sap.com/webas/640/soap <
XRFC> /ws/security/protocol::http://www.sap.com/webas/640/soap <
XRFC> /ws/security/protocol/srt640_impl <
XRFC> <
XRFC> INFO 10:57:25: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE() <
XRFC> Instance of CL_WS_SECURITY_PROTOCOL created for http://www <
XRFC> .sap.com/webas/640/soap/ws/security/protocol::http://www <
XRFC> .sap.com/webas/640/soap/ws/security/protocol/srt640_impl <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT() Application initialized <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT_WS() Application initialized <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~INIT() Try to initialize <
XRFC> http://schemas.xmlsoap.org/soap/http <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~INIT() http://schemas.xmlsoap <
XRFC> .org/soap/http initialized <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~REQUEST() Try to create request <
XRFC> message <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~REQUEST() Request message created <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~RESPONSE() Try to create response <
XRFC> message <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~RESPONSE() Response message <
XRFC> created <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport binding CL_SOAP_HTTP_TPBND_ROOT <
XRFC> ->IF_SOAP_TRANSPORT_BINDING~RECEIVE() Try to receive message <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport binding CL_SOAP_HTTP_TPBND_ROOT <
XRFC> ->IF_SOAP_TRANSPORT_BINDING~RECEIVE() Message received <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT_PROCESSING() Try to initialze <
XRFC> application <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT_PROCESSING() Operation = ZBAPI_PO <
XRFC> _GETITEMS <
XRFC> <
XRFC> INFO 10:57:25: WS Security Protocol CL_WS_SECURITY_PROTOCOL <
XRFC> ->IF_SOAP_PROTOCOL~INIT() Try to initialize Web Services Security <
XRFC> <
XRFC> INFO 10:57:25: WS Security Protocol CL_WS_SECURITY_PROTOCOL <
XRFC> ->IF_SOAP_PROTOCOL~INIT() Protocol initialized <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~REQUEST() Try to create request <
XRFC> message <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~REQUEST() Request message created <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~RESPONSE() Try to create response <
XRFC> message <
XRFC> <
XRFC> INFO 10:57:25: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING <
XRFC> ROOT->IFSOAP_TRANSPORT_BINDING~RESPONSE() Response message <
XRFC> created <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION->CONFIGURE <
XRFC> _FEATURES() Try to configure features <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION->CONFIGURE <
XRFC> _FEATURES() Features configured <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT_PROCESSING() Try to get VI for VI name = <
XRFC> ZWEB_PO_GETITEMS <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT_PROCESSING() Have got VI <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~INIT_PROCESSING() Application initialized <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime CL_SOAP_RUNTIME_SERVER->INIT_PROCESSIN <
XRFC> G() Initialized for processing <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime CL_SOAP_RUNTIME_ROOT->EXEC_PROCESSING( <
XRFC> ) Compose SOAP protocols <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime CL_SOAP_RUNTIME_ROOT->EXEC_PROCESSING( <
XRFC> ) Retrieve request/response messages <
XRFC> <
XRFC> INFO 10:57:25: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF <
XRFC> SOAPTRANSPORT_BINDING~PROCESS_HEADER() Try to process the header <
XRFC> <
XRFC> INFO 10:57:25: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF <
XRFC> SOAPTRANSPORT_BINDING~PROCESS_HEADER() Header processed <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL <
XRFC> ->IF_SOAP_PROTOCOL~PRE_PROCESS() Try to preprocess protocol SOAP <
XRFC> Runtime-intrinsic Protocol <
XRFC> <
XRFC> INFO 10:57:25: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL <
XRFC> ->IF_SOAP_PROTOCOL~PRE_PROCESS() SOAP Runtime-intrinsic Protocol <
XRFC> preprocessed ( TraceLevel= None ,LogLevel= None ,MonLevel= ) <
XRFC> <
XRFC> INFO 10:57:25: WS Security Protocol CL_WS_SECURITY_PROTOCOL <
XRFC> ->IF_SOAP_PROTOCOL~PRE_PROCESS() Try to preprocess protocol Web <
XRFC> Services Security <
XRFC> <
XRFC> INFO 10:57:25: WS Security Protocol CL_WS_SECURITY_PROTOCOL <
XRFC> ->IF_SOAP_PROTOCOL~PRE_PROCESS() Web Services Security <
XRFC> preprocessed <
XRFC> <
XRFC> INFO 10:57:25: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF <
XRFC> SOAPTRANSPORT_BINDING~PROCESS_HEADER() Try to process the body 000e0 POGETITEMS xml 5F504F5F 47455449 54454D53 20786D6C
XRFC> 000f0 ns="urn:sap-com: 6E733D22 75726E3A 7361702D 636F6D3A
XRFC> 00100 document:sap:rfc 646F6375 6D656E74 3A736170 3A726663
XRFC> 00110 :functions"> SOAPTRANSPORT_BINDING~PROCESS_HEADER() Body processed <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~EXEC_PROCESSING() Try to execute processing <
XRFC> <
XRFC> INFO 10:57:25: SOAP Application CL_SOAP_APPLICATION_RFC->IF <
XRFC> SOAPAPPLICATION_RT~EXEC_PROCESSING() Processing executed 002e0 CONVERSIONNO_N 5F434F4E 56455253 494F4E5F 4E4F5F4E
XRFC> 002f0 UMBER ROOT->HANDLEREQUEST() Request handled <
XRFC> <
XRFC>
XRFC> End of user trace
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sap return into PO_ITEMS same number = '' and .net want number <> null
How can I manage numbers null return from SAP setting the wsdl or code.
Net?
or
How Can I avoid that SAP return value null into number ?
Thank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.