• Newport
  • NEWBIE
  • 20 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 11
    Replies
Error: Failed to parse wsdl: Unable to find element for {http://www.w3.org/2001/XMLSchema}schema

I'm getting the above error when trying generate New Apex Code from WSDL.

Without me publishing my entire WSDL... any idea what could cause this? I've been fiddling with my WSDL for hours trying to make it work...

Can't find the answer here or anywhere.

Thanks!
I'm probably missing something basic...

I cannot get my company's logo to appear on the public facing Salesforce Site that I'm creating with a custom Visualforce page.

It works in the sandbox, but not in production.

I've set the Sites' "Public Access Settings" (my Site's public unauthenticated Profile) to see my custom App by default.

I've uploaded and put the logo into my My Personal Documents folder, and from there, into that App.

I've set the logo to be an Externally Available Image, and it's only a 4K gif.

I've even double-checked that the layout shows a header component (that exists) which displays my logo, although I'm not sure any of that is used when displaying my Visualforce page in the site.

I've been through all the permissions with a fine toothed comb.

Any suggestions as to where to look would be appreciated, even long shots.

Thanks in advance.
I'm trying to expose a "Salesforce Site" publicly, but every time I go to the URL I keep getting "Authorization Required You must first long in or register before accessing this page." 

In order to eliminate this error, I've:

created a "Hello World" page that accesses no controllers or objects to eliminate Object permissions from the problem,

verified that the Site is active,

gone to the site and clicked "Public Access Settings" and configured the User Profile that comes up to be able to access the page from any IP range (000.000.000.000 to 255.255.255.255), given it every System Permission possible, and not assigned any login hours, which I assume allows the site's User Profile to access the page at any time.

I can't think of anything else to do! Thanks in advance for your help.

Hi,

I'm facing a weird error "Formula Expression is required on the action attributes".

 

My VF Page:

<apex:commandButton value="Log-in"  action="{!loginTest}"/>

 

My Class:

public pagereference loginTest(){
pagereference redirect = new PageReference('apex/newPage');
redirect.setRedirect(true);
system.debug('Hello@@'+redirect);
return redirect;
}

 

But when I click on login button i'm facing a weird error 'Formula Expression is required on the action attributes'.

 

Syntax looks fine,but some how it is not working.

Any help is much appreciated :)

 

I'm starting to reach the point where I think SF Sites can become undebuggable because on certain errors you get only the  "Authorization Required " error page.

 

I have a Sites application that has been working pretty well.  Now in one sandbox, and one sandbox only, when I hit a certain point in the application, I always get the  "Authorization Required " error page.  But, I do not believe it is because of permissions.  I believe that page is masking the real error.

 

The page works fine when I run the same scenario logged in and by starting with the .../apex/pageName URL.

 

Run via the external Sites URL, I get that error.  Something is obviously running differently when run from the public sites user but I don't have any idea how to find out.

 

I put debug logs on for the sites guest user.  Then I triggered the operation that causes the error.  I see two new logs in the Debug Log list.  The first log shows stutus success with a duration of 2,168 ms.  So, it doesn't look like there's a permissions error.  Then there's a second short log that just shows that the /apex/Unauthorized page has been served.

 

It might be that there's some sort of View State error or some other internal error but I have no way of figuring out what it is?