• saasteam
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 6
    Replies

Hi all,

 

I read [url=http://community.salesforce.com/sforce/board/message?board.id=practices&thread.id=7994]this topic[/url] but I still dind't find any solution.

I need documentation to connect Saleforce.com to SAP R/3. I have a case open, they called me back, but I still cannot find any support.

 

Can you give me any links to get documentation I need?

 

Thanks a lot!

Hi all,

I'm experiencing a problem with inbound integration. I'm using both XMLSpy and a custom JAVA application to invoke Salesforce's WSDL:Enterprise WSDL.

When I look at the response that I get i'm asked to insert username and password+security token. I have generated a new security token before starting integration.

 

When I invoke this Web Service I have an error  message stating: "Invalid login".

 

This is the code of my invocation:

 

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Header>
        <m:LoginScopeHeader xmlns:m="urn:enterprise.soap.sforce.com">
            <m:organizationId>000000000000000000</m:organizationId>
            <m:portalId>000000000000000000</m:portalId>
        </m:LoginScopeHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <m:login xmlns:m="urn:enterprise.soap.sforce.com">
            <m:username>user@domain.com</m:username>
            <m:password>pwdtoken</m:password>
        </m:login>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 

 

This is Salesforce response

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
        <soapenv:Fault>
            <faultcode xmlns:ns1="urn:fault.enterprise.soap.sforce.com">ns1:INVALID_LOGIN</faultcode>
            <faultstring>INVALID_LOGIN: Invalid username or password or locked out.</faultstring>
            <detail>
                <sf:fault xsi:type="sf:LoginFault" xmlns:sf="urn:fault.enterprise.soap.sforce.com">
                    <sf:exceptionCode>INVALID_LOGIN</sf:exceptionCode>
                    <sf:exceptionMessage>Invalid username or password or locked out.</sf:exceptionMessage>
                </sf:fault>
            </detail>
        </soapenv:Fault>
    </soapenv:Body>
</soapenv:Envelope>

 

Can you help me  understanding where I'm wrong?

Hi all!

 

I'm experiencing some problems with Salesforce.com WSDL limitations. I could see on support documentation that there are limitations about Types, PortTypes, Bindings.

 

Now I have to use a WSDL that has got more than one PortType. How can I do?

 

Thanks! 

Hi all,

 

I call an external web service and I would like to write the answer into an account's field.

By now I'm able to do the callout and I get the response and to edit account's field I use a query. But I'm forced to use a particular name of the account.

The cose is the following:

 

String r = np.GetPrimeNumbers(8);

               String varName = 'Test triggerB';         

               Account[] la = [select Name, Phone, Fax, Account_Credit_Check__c from Account where name = :varName];

 

I'm forced to use Test triggerB as account name. How can I call the field account name, instead of its value?

Hi all,

 

I'm a new user and I'm experiencing some problems with Web service implementation. I would like to make a callout to an external web service

 

I have got the WSDL and I created the relative Apex Classes in saleforce.

 

Do I have to create a trigger to make the callout?Do I have ti write all the Apex Class code in the body of the trigger?

For example, I would like to create credit check for a new account, therefore I would like that before creating account, a callout to a web service could give me some information about the client.

 

Thanks a lot for your help!

 

 

Hi all,

 

I call an external web service and I would like to write the answer into an account's field.

By now I'm able to do the callout and I get the response and to edit account's field I use a query. But I'm forced to use a particular name of the account.

The cose is the following:

 

String r = np.GetPrimeNumbers(8);

               String varName = 'Test triggerB';         

               Account[] la = [select Name, Phone, Fax, Account_Credit_Check__c from Account where name = :varName];

 

I'm forced to use Test triggerB as account name. How can I call the field account name, instead of its value?

I have tried to generate apex code from wsdl. WSDL file contains multiple portType, binding and service port. While parsing WSDL file I got Error: multiple portType not suppoerted. Let me know how can I solve this problem.