Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all 1056 articles
Browse latest View live

Re: Access control on service definition within the PI service registry?

$
0
0

Actually one way I can think of is to use the "assigned users" in the integrated configuration. However, my opinion is that it is very clumsy alternative as you also have to add the user in the communication component. Users not added will lose their access and it presents a maintenance issue.

 

Of course, that user is still able to see all the service definitions in the SR.

Please advise if you know of a better way.

Thanks,

Jonathan.



error 'cx_ai_system_fault'

$
0
0

Hi,

I have tried to call a web service method and encountered this.

The rough process is as followed:

1, Creating an RFC and publishing it as web service

2, Go to SOAMANGER, some configuration in Single Service Admininstration and get a WSDL

3, Using the WSDL to generate a proxy class

4, Create an object of the class and call the method in my report

 

I have been searching Google and one thing I didn't do is to set logical port and I debug my CREATE OBJECT and found the parameter

logical port name of constructor is null. Is it the reason that caused a  'cx_ai_system_fault' error?

Re: SRT Framework exception: ICF: Error when creating service node. [rc:wrong_icf_name] No special characters allowed in name

$
0
0

Error resolved now. Though don't know why the error was coming at first place.

Calling IIS web service (using NTLM Authentication) from SAP Web AS Java failed

$
0
0

Hi,

 

I am trying to call web service to IIS using Window Authentication (NTLM) from my application (under SAP Web AS Java). However, it is giving me the error as below.

 

 

**********************************************************************

[EXCEPTION]

javax.xml.ws.WebServiceException: Invalid Response code (401). Server [http://xxx/Optimist8_Demo/IntegrationServices/LegalEntityService.svc] returned message [Unauthorized]. Http proxy info:  none

    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:174)

    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)

    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)

    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)

    at $Proxy624.searchLegalEntitiesByReferenceCode(Unknown Source)

 

**********************************************************************

 

 

 

I have already set the default authenticator (with the user and password). When I run the code locally on PC, everything work fine.

 

 

[Source code]

------------------------------------------------------------------

 

Authenticator.setDefault(new NtlmAuthenticator(user, password));

 

 

 

import java.net.Authenticator;

import java.net.PasswordAuthentication;

 

class NtlmAuthenticator extends Authenticator {

 

  private final String username;

  private final char[] password;

 

  public NtlmAuthenticator(final String username, final String password) {

    super();

    this.username = username;

    this.password = password.toCharArray();

  }

 

  public PasswordAuthentication getPasswordAuthentication() {

      System.out.println("Scheme:" + getRequestingScheme());

    return (new PasswordAuthentication (username, password));

  }

}

 

 

Please help.

 

Thanks.

Re: Goods Movement Create_v1

$
0
0

I only used GoodsMovementERPCreateRequestConfirmation_In_V1

 

(without reference to business document)

 

I had a look at message and data type definition of your service.

 

BaseBusinessTransactionDocumentID has minLength=1 and maxLength=35.

I would suppose this is the number of your individual business document you want to refer to.

Re: SRT Framework exception: ICF: Error when creating service node. [rc:wrong_icf_name] No special characters allowed in name

$
0
0

Hello Tanmay,

 

You should close the thread in that case.

 

Regards,

Siddhesh

How to transfet data to SAP MDG through web based .NET application?

$
0
0

Dear Experts,

 

 

     I am new to MDG. Could you please help to transfer Master Data from 3rd party MGD tool(web based .NET application) to SAP MDG? For an Instance I have to transfer 10 material master records from 3rd party MDG tool(web based .NET application) to SAP MDG. The same method I worked in LAN network using SAP.NetConnector 3.0 and BAPI object . But now I want to transfer via WAN/VPN/secured services. Do I need to approach web services? If yes, Please explain how.

 

Thank you.

 

-Janaraja

Re: Goods Movement Create_v1

$
0
0

Hi Roland,

 

 

I must have posted wrong.

 

 

I am using the BaseBusinessTransactionDocumentID to store the return Delivery Number I am referencing, but receiving an error due to the BaseBusinessTransactionDocumentTypeCode.

 

 

Please see the codes that I have tried below. None are working for this transaction. Was wondering if anyone knows which BaseBusinessTransactionDocumentTypeCode should be used to perform a 101 goods movement for a return delivery.

 


(32) Customer Return A request made by the customer for the seller to take back goods that have been delivered, and to cancel the sale.

 

(58) Inbound Delivery A composition of the goods that is received by a product recipient.

 

(283) Goods Return (please refer to documentation of the object)

 

(1563)Customer Return Confirmed Inbound Delivery A confirmation that a certain composition of goods has actually been returned by a customer.

 

(1565) Own Goods Return Confirmed Inbound Delivery A confirmation that a certain composition of own goods has actually been returned by a product recipient.

 


TransportBindingException: Invalid Response code (401). [Unauthorized].

$
0
0

Hello Experts.

 

I have create an ABAP provider system with SAP_DEFAULT_PROFILE for WS. I have set the runtime authentication as technical user and I am also able to see the web service when I ping the provider system.

When I try to test this web service through WSNAVIGATOR I get the following error message

 

TransportNindingException: Invalid Response Code (401). Server [http://<server>:<port>/sap/bc/srt/rfc/sap/zwam_get_approver_agent_wsd/400/zwammi_srv_apprv/zwammi_srv_apprv] returned message [Unauthorized]. Http Proxy Info: none


Please provide your valuable inputs.

 

Thanks & Regards

Gaurang Dayal

Exception occurred in communication framework:Error in HTTP Framework:500SSL Peer Certificate Untrusted

$
0
0

Hello All,

 

I am trying to create a consumer proxy for an external WSDL. However when i provide the WSDL URL i am being faced with the error

 

"Exception occurred in communication framework:Error in HTTP Framework:500SSL Peer Certificate Untrusted <followed by WSDL URL>

Exception of class CX_PROXY_GEN_ERROR".

 

Initially we thought that installing SSL certificate of the target could help. But still the error persists. I tried to search if any others faced such an issue & what was the resolution. Failing to get any answer i am here posting this as a query.

 

This error is there for some time, any help would be highly appreciated.

Consumer Proxy Generation-HTTP Framework Error

$
0
0

Hello All,

 

I tried to create a consumer proxy for an external WSDL.

 

However i am being faced with the following error

 

"Exception occurred in communication framework:Error in HTTP Framework:500SSL Peer Certificate Untrusted <WSDL link>

Exception of class CX_PROXY_GEN_ERROR".

 

Any help would be highly appreciated.

Exception occurred in communication framework:Error in HTTP Framework:500SSL Peer Certificate Untrusted

$
0
0

Hello All,

 

I am trying to create a consumer proxy for an external WSDL.

 

However i am getting the below error when i try to generate the client proxy

 

"Exception occurred in communication framework:Error in HTTP Framework:500SSL Peer Certificate Untrusted"

not able to configure soa manager for https url without port

Re: Goods Movement Create_v1

$
0
0

Is there anyone out there that can help with this issue?

Re: Goods Movement Create_v1

$
0
0

Perhaps you could post the request message you tried and the response with the error.


Re: Goods Movement Create_v1

$
0
0

Please see the message sent with BaseBusinessTransactionDocumentTypeCode = 32.

BaseBusinessTransactionDocumentID = Return Delivery Number.

 

<n0:GoodsMovementERPWithReferenceCreateRequest_sync_V1 xmlns:n0="http://sap.com/xi/APPL/SE/Global">
  <GoodsMovement>
  <BaseBusinessTransactionDocumentTypeCode>32</BaseBusinessTransactionDocumentTypeCode>
   <PostingDate>2015-01-16</PostingDate>
   <PostingTime>02:33:45</PostingTime>
   <Item>
    <BaseBusinessTransactionDocumentID>8400000908</BaseBusinessTransactionDocumentID>
    <BaseBusinessTransactionDocumentItemID>10</BaseBusinessTransactionDocumentItemID>
    <GoodsMovementTypeCode>101</GoodsMovementTypeCode>
    <GoodsReceiptCompletedIndicator>true</GoodsReceiptCompletedIndicator>
    <InventoryManagedLocation>
     <InternalID>4001</InternalID>
    </InventoryManagedLocation>
    <Material>
    <BatchID>MXBATCH1</BatchID>
    </Material>
    <Quantity>
     <EntryQuantity>1</EntryQuantity>
    </Quantity>
    <n1:ZPedimento  xmlns:n1="http://bio-rad.com/LEX/GoodsMovementWithReferenceCreateRequestConfirmation">
     <Pedimento_Number>111909876568909</Pedimento_Number>
     <Customs_Date>2014-01-16</Customs_Date>
     <Customs_Place>11</Customs_Place>
    </n1:ZPedimento>
   </Item>
  </GoodsMovement>
</n0:GoodsMovementERPWithReferenceCreateRequest_sync_V1>


Please see error message received below. I've tried the different codes listed in my previous comment and they give the error  below as well.


-<Log>

<BusinessDocumentProcessingResultCode>5</BusinessDocumentProcessingResultCode><MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>-

<Item>

<TypeID>001(OPS_SE_COMMON)</TypeID>

<CategoryCode/>

<SeverityCode>3</SeverityCode>

<Note>Goods movement not possible for BTDs with Base-BTD Type Code 32</Note>

</Item>

</Log>

</nm:GoodsMovementERPWithReferenceCreateConfirmation_sync_V1>


 

Re: Goods Movement Create_v1

ARIBA Integration : Error calling Webservice "CO_ARBFND_PRX_INVC_OUT"

$
0
0

Hello.

 

We use ARIBA direct integration without XI Middleware.

 

When trying to send a Invoice document from VF31 we get the following

error message in NAST processing:

 

"...ARBERP_NAST_CXML_MESSAGE Routine SEND_DOCUMENT"

"Payload-ID der cXML-Nachricht: 005056020A771EE4ADD38D145EA801A6"

"Error calling WebService " CO_ARBFND_PRX_INVC_OUT"

 

Webservice Runtime was configured correctly and Health check shows no

errors. Webservices (Service Definition and Consumers) are configured

as

described in ARIBA Administration Guide.


Local Repository SR_LOCAL is active and tested successfully.

 

Transaction SRT_MONI or SXMB_Monitoring showing no entries.

 

What maybe the root cause for this error and how to fix it ?

 

Best regards,

Sebastian

ABAP Proxy Client how to get the XML

$
0
0

Hi all,

 

I have created a Proxy Client by SE80 using the WSDL file, I no have any middleware as PI etc.

Testing it I'm facing with an error occurred on the server side. So the developers asked me to send them the full XML message with whom I call the service.

From se80 I can see only the body of the request I guess.

 

So I'm tring to understend where I can get the whole XML.

 

Any help will be appreciated.

 

Thank you,

 

Pasquale.

Re: Exception occurred in communication framework:Error in HTTP Framework:500SSL Peer Certificate Untrusted

$
0
0

If it is possible to create proxy from local WSDL file, you could try to download the WSDL with Webbrowser to local file.

Viewing all 1056 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>