Schema validator issue #686
Unanswered
andrelfran
asked this question in
Q&A
Replies: 5 comments 7 replies
|
Hello, Your code is only vaguely related to your xml request. The following is not tested but you should get the gist: class SObjectType(ComplexModel):
__namespace__ = 'urn:sobject.enterprise.soap.sforce.com'
Id = Integer64
Company_ID__C = Integer64
Company_Size_Text__c = Unicode
class NotificationType(ComplexModel):
Id = Integer64
sObject = SObjectType
class SomeService(ServiceBase):
__tns__ = 'http://soap.sforce.com/2005/09/outbound'
@rpc(Intege64, Integer64, Unicode, NotificationType)
def notifications(ctx, OrganizationId, ActionId, SessionId, Notification):
# ... |
1 reply
|
Sorry I cant fix your code for you. the error messages are quite clear, you don't understand what they say? |
1 reply
this means "I never heard of the tag you are talking about". Is there a schema with tns = "http://soap.sforce.com/2005/09/outbound" ? |
2 replies
0 replies
|
Hey Burak! <?xml version='1.0' encoding='UTF-8'?>
<soap11env:Envelope xmlns:soap11env="http://schemas.xmlsoap.org/soap/envelope/"><soap11env:Body><soap11env:Fault><faultcode>soap11env:Client.ResourceNotFound</faultcode><faultstring>Requested resource '{http://soap.sforce.com/2005/09/outbound}notifications' not found</faultstring><faultactor></faultactor></soap11env:Fault></soap11env:Body></soap11env:Envelope> |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am not sure If there is an internal issue or if I am doing something wrong, but I can't get the proper schema for this XML. I appreciate it if someone could let me know how to build it.
Issue:
My code:
XML(request):
XSD:
All reactions