• shanuman
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 12
    Replies

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?


I have a custom object ( Available for Customer Portal value checked). I am trying to add it to my customer portal.
Though I have added this object in the customer portal through the button CUSTOMIZE PORTAL TABS on the portal page, I am not able to see in the portal itself.
Also, is there a way to add visual force page on the portal?

Any clue would be very helpful.

Thanks
  • January 15, 2009
  • Like
  • 0
I need to customise my company's customer portal site. I assume I would have to use Visual force for this.
 
Could somebody provide me with documentation of how one does about doing this? Where can I get documentation on this?
 
 
Thanks
 
 
Stephen
  • December 10, 2008
  • Like
  • 0
I haven't had much luck getting SSO to work with my SAML assertion. Has anyone got this to work? If so, what does your saml response look like?  I signed my assertion and I believe everything is correct, yet the login history gives me "Failed: Assertion Invalid"

Any ideas?

Thank you.
I have set up a customer portal and now want to have Single sign on to it from our company website .. I am really struggling with this as I can see "Is SSO enabled" in a normal users profile under General User Permissions but there does not seem to be anywhere to set it in a Portal user's profile .. I've had our web developer review all the Wiki entries and it all makes perfect sense apart from the bit about "make sure the portal user profile has "Is Single-sign-on enabled" checked and you are using the correct login URLs."
 
Has anyone already set this up and could give me some direction?
 
Jaz
It's super easy to call an apex webservice method from the ajax toolkit, since it very helpfully provides the sforce.apex.execute method.

I assumed there would be something equivalent in the flex toolkit, but I can't find anything, and then stumbled across this thread from a few months ago:
http://community.salesforce.com/sforce/board/message?board.id=apex&thread.id=518

Is this still the state of affairs?  If so, sounds like not only is it not easy to call an apex method from flex, but no-one has yet figured out how to do it.  (or at least hasn't figured it out and then replied to the forums.)

Seems like that can't be right, but I can't find anything anywhere (forums, docs, object structure within flex builder, etc.) to suggest otherwise.

Is anyone calling apex webservice methods from Flex, and if so, how?

Thanks much!





  • December 02, 2007
  • Like
  • 0